From 57f062860bf5b429573dac80648971212a3e45a1 Mon Sep 17 00:00:00 2001 From: Jones Beach Date: Sat, 30 Nov 2024 16:38:28 -0500 Subject: [PATCH] Update tower version --- app/Cargo.toml | 2 +- app/src/api.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Cargo.toml b/app/Cargo.toml index 9325d32..ee2e7c1 100644 --- a/app/Cargo.toml +++ b/app/Cargo.toml @@ -13,7 +13,7 @@ reqwest = { version = "0.12.5", features = ["json", "blocking"] } serde = { version = "1.0.171", features = ["derive"] } serde_json = "1.0.103" tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread"] } -tower = "0.4.13" +tower = { version = "0.5.0", features = ["util"] } ureq = "2.7.1" petgraph = "0.6.3" # for prost_build prost-types = "0.12" # for prost_build diff --git a/app/src/api.rs b/app/src/api.rs index b7ee209..9fb2c60 100644 --- a/app/src/api.rs +++ b/app/src/api.rs @@ -221,7 +221,7 @@ mod api_tests { sync::{mpsc::SendError, Mutex}, }; use tokio::net::TcpListener; - use tower::ServiceExt; // for `oneshot` + use tower::util::ServiceExt; // for `oneshot` #[cfg(not(feature = "use_dependencies"))] use crate::deps::mime;