Draft websocket example 🎉

This commit is contained in:
Héctor Ramón Jiménez 2022-01-16 15:50:19 +07:00
parent 2f557731f3
commit dc50a2830a
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 426 additions and 73 deletions

View file

@ -0,0 +1,22 @@
[package]
name = "websocket"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2018"
publish = false
[dependencies]
iced = { path = "../..", features = ["tokio", "debug"] }
iced_native = { path = "../../native" }
iced_futures = { path = "../../futures" }
[dependencies.async-tungstenite]
version = "0.16"
features = ["tokio-rustls-webpki-roots"]
[dependencies.tokio]
version = "1"
features = ["time"]
[dependencies.warp]
version = "0.3"