mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 15:30:16 +01:00
c34041510c
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
21 lines
579 B
TOML
21 lines
579 B
TOML
[package]
|
|
name = "example-sse"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
axum = { path = "../../axum" }
|
|
axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
|
|
futures = "0.3"
|
|
headers = "0.4"
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
tower-http = { version = "0.5.0", features = ["fs", "trace"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
[dev-dependencies]
|
|
eventsource-stream = "0.2"
|
|
reqwest = { version = "0.11", features = ["stream"] }
|
|
reqwest-eventsource = "0.5"
|