Files
axum/examples/websockets/Cargo.toml
T

25 lines
671 B
TOML
Raw Normal View History

[package]
name = "example-websockets"
version = "0.1.0"
edition = "2021"
publish = false
2025-05-25 08:46:05 +02:00
[[bin]]
name = "example-websockets"
path = "src/main.rs"
[[bin]]
name = "example-client"
path = "src/client.rs"
[dependencies]
2023-04-11 16:09:48 +02:00
axum = { path = "../../axum", features = ["ws"] }
axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
2023-11-25 16:47:57 +08:00
headers = "0.4"
tokio = { version = "1.0", features = ["full"] }
2025-09-25 22:09:35 +09:00
tokio-tungstenite = "0.28.0"
2024-09-27 16:50:52 +00:00
tower-http = { version = "0.6.1", features = ["fs", "trace"] }
tracing = "0.1"
2022-03-06 12:37:00 +01:00
tracing-subscriber = { version = "0.3", features = ["env-filter"] }