extract rust sse infrastructure

This commit is contained in:
2026-04-22 14:52:30 +08:00
parent 91fb8edee7
commit 28ba990123
4 changed files with 140 additions and 23 deletions

13
server-rs/Cargo.lock generated
View File

@@ -71,6 +71,7 @@ version = "0.1.0"
dependencies = [
"axum",
"base64 0.22.1",
"bytes",
"dotenvy",
"hmac",
"http-body-util",
@@ -98,6 +99,7 @@ dependencies = [
"spacetime-client",
"time",
"tokio",
"tokio-stream",
"tower",
"tower-http",
"tracing",
@@ -3036,6 +3038,17 @@ dependencies = [
"tokio",
]
[[package]]
name = "tokio-stream"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70"
dependencies = [
"futures-core",
"pin-project-lite",
"tokio",
]
[[package]]
name = "tokio-tungstenite"
version = "0.27.0"