2021-08-18 00:49:01 +02:00
|
|
|
[package]
|
|
|
|
name = "example-websockets"
|
|
|
|
version = "0.1.0"
|
2022-06-17 20:11:35 +02:00
|
|
|
edition = "2021"
|
2021-08-18 00:49:01 +02:00
|
|
|
publish = false
|
|
|
|
|
|
|
|
[dependencies]
|
2021-11-03 12:38:48 +01:00
|
|
|
axum = { path = "../../axum", features = ["ws", "headers"] }
|
2023-01-08 16:51:59 +01:00
|
|
|
futures = "0.3"
|
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
2022-06-10 08:59:17 +02:00
|
|
|
headers = "0.3"
|
2021-08-18 00:49:01 +02:00
|
|
|
tokio = { version = "1.0", features = ["full"] }
|
2023-01-08 16:51:59 +01:00
|
|
|
tokio-tungstenite = "0.18.0"
|
|
|
|
tower = { version = "0.4", features = ["util"] }
|
2023-02-24 21:51:30 +01:00
|
|
|
tower-http = { version = "0.4.0", features = ["fs", "trace"] }
|
2021-08-18 00:49:01 +02:00
|
|
|
tracing = "0.1"
|
2022-03-06 12:37:00 +01:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
2023-01-08 16:51:59 +01:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "example-websockets"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "example-client"
|
|
|
|
path = "src/client.rs"
|