Draft websocket example 🎉
This commit is contained in:
parent
2f557731f3
commit
dc50a2830a
8 changed files with 426 additions and 73 deletions
22
examples/websocket/Cargo.toml
Normal file
22
examples/websocket/Cargo.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue