2021-08-18 00:49:01 +02:00
|
|
|
[package]
|
|
|
|
name = "example-sse"
|
|
|
|
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" }
|
|
|
|
axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
|
2022-06-10 08:59:17 +02:00
|
|
|
futures = "0.3"
|
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"] }
|
2022-06-10 08:59:17 +02:00
|
|
|
tokio-stream = "0.1"
|
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-12-30 18:04:23 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
eventsource-stream = "0.2"
|
2024-03-29 08:34:56 +01:00
|
|
|
reqwest = { version = "0.12", features = ["stream"] }
|
2023-12-30 18:04:23 +01:00
|
|
|
reqwest-eventsource = "0.5"
|