From cd774827dd14f68d8405c45d2d9da30b3fab050e Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Sat, 28 Sep 2024 00:54:46 -0500 Subject: feat: refactor into pub-sub and impl SSE --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 69f7eeb..1cb7655 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] +async-stream = "0.3.5" axum = "0.7.6" axum-extra = "0.9.4" futures = "0.3.30" @@ -14,8 +15,13 @@ reqwest = { version = "0.12.7", features = ["blocking"] } serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" thiserror = "1.0.63" -tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "net"] } +tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "net", "time"] } +tokio-stream = { version = "0.1.16", features = ["sync"] } toml = "0.8.19" tower-http = { version = "0.6.1", features = ["fs", "trace"] } tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } +url = { version = "2.5.2", features = ["serde"] } + +[dev-dependencies] +tracing-test = "0.2.5" -- cgit v1.2.3-70-g09d2