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:
3
Cargo.lock
generated
3
Cargo.lock
generated
@@ -255,6 +255,7 @@ dependencies = [
|
||||
"anyhow",
|
||||
"argh",
|
||||
"axum",
|
||||
"bytes",
|
||||
"chrono",
|
||||
"dotenvy",
|
||||
"feed-rs",
|
||||
@@ -267,6 +268,7 @@ dependencies = [
|
||||
"sqlx",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
"tokio-stream",
|
||||
"tower",
|
||||
"tower-http",
|
||||
"tower-livereload",
|
||||
@@ -2051,6 +2053,7 @@ dependencies = [
|
||||
"futures-core",
|
||||
"pin-project-lite",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Reference in New Issue
Block a user