mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-29 19:52:40 +01:00
43b14a5f02
Co-authored-by: Michael Scofield <mscofield0@tutanota.com> Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
26 lines
734 B
TOML
26 lines
734 B
TOML
[package]
|
|
name = "example-websockets"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
axum = { path = "../../axum", features = ["ws"] }
|
|
axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
|
|
futures = "0.3"
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
|
headers = "0.3"
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tokio-tungstenite = "0.20"
|
|
tower = { version = "0.4", features = ["util"] }
|
|
tower-http = { version = "0.5.0", features = ["fs", "trace"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
[[bin]]
|
|
name = "example-websockets"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "example-client"
|
|
path = "src/client.rs"
|