From 2118bf69ebba3ad54e41a72a6ee1030914c4a9d3 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Fri, 18 Oct 2024 21:53:22 +0800 Subject: [PATCH] Fix build Signed-off-by: Xuanwo --- bin/oay/Cargo.lock | 4 ++++ bin/oay/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/oay/Cargo.lock b/bin/oay/Cargo.lock index 94eff56f591..7931d28e057 100644 --- a/bin/oay/Cargo.lock +++ b/bin/oay/Cargo.lock @@ -1724,6 +1724,10 @@ version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite", "tower-layer", "tower-service", "tracing", diff --git a/bin/oay/Cargo.toml b/bin/oay/Cargo.toml index e57e6768c36..2bc1d653fb3 100644 --- a/bin/oay/Cargo.toml +++ b/bin/oay/Cargo.toml @@ -63,7 +63,7 @@ tokio = { version = "1.39", features = [ "io-std", ] } toml = "0.8.12" -tower = "0.4" +tower = { version = "0.4", features = ["util"] } tower-http = { version = "0.5", features = ["trace"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] }