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]
|
2023-04-11 16:09:48 +02:00
|
|
|
axum = { path = "../../axum", features = ["ws"] }
|
|
|
|
axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
|
2023-01-08 16:51:59 +01:00
|
|
|
futures = "0.3"
|
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
2023-11-25 09:47:57 +01:00
|
|
|
headers = "0.4"
|
2021-08-18 00:49:01 +02:00
|
|
|
tokio = { version = "1.0", features = ["full"] }
|
2023-12-18 15:13:35 +01:00
|
|
|
tokio-tungstenite = "0.21"
|
2023-01-08 16:51:59 +01:00
|
|
|
tower = { version = "0.4", features = ["util"] }
|
2023-11-23 12:03:03 +01:00
|
|
|
tower-http = { version = "0.5.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"
|