Complete log stream implementation
Sets up a watch channel to send tracing lines from tracing-subscriber to receivers in a axum handler which streams Server Sent Events to any number of connected /log/stream clients.
This commit is contained in:
@@ -14,6 +14,7 @@ path = "src/lib.rs"
|
||||
anyhow = "1"
|
||||
argh = "0.1"
|
||||
axum = "0.6"
|
||||
bytes = "1.4"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
dotenvy = "0.15"
|
||||
feed-rs = "1.3"
|
||||
@@ -32,6 +33,7 @@ sqlx = { version = "0.6", features = [
|
||||
] }
|
||||
thiserror = "1"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-stream = { version = "0.1", features = ["sync"] }
|
||||
tower = "0.4"
|
||||
tower-livereload = "0.7"
|
||||
tower-http = { version = "0.4", features = ["trace"] }
|
||||
|
||||
Reference in New Issue
Block a user