From d93a592c67acae5b93dbf633196a5452c463c484 Mon Sep 17 00:00:00 2001 From: glendc Date: Mon, 22 Jul 2024 14:01:24 +0200 Subject: [PATCH] push_back was only added in 0.3.22 of futures --- examples/Cargo.toml | 4 ++-- tower-service/Cargo.toml | 2 +- tower/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index a39ddb9ca..a2d304887 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -8,11 +8,11 @@ edition = "2018" # [dependencies] instead. [dev-dependencies] tower = { version = "0.4", path = "../tower", features = ["full"] } -tower-service = "0.3" +tower-service = "0.3" tokio = { version = "1.0", features = ["full"] } rand = "0.8" pin-project = "1.0" -futures = "0.3" +futures = "^0.3.22" tracing = "0.1" tracing-subscriber = "0.2" hdrhistogram = "7" diff --git a/tower-service/Cargo.toml b/tower-service/Cargo.toml index 68a5a8768..cdd2ede32 100644 --- a/tower-service/Cargo.toml +++ b/tower-service/Cargo.toml @@ -25,4 +25,4 @@ edition = "2018" http = "0.2" tower-layer = { version = "0.3", path = "../tower-layer" } tokio = { version = "1", features = ["macros", "time"] } -futures = "0.3" +futures = "^0.3.22" diff --git a/tower/Cargo.toml b/tower/Cargo.toml index 3e199a844..b477e4c34 100644 --- a/tower/Cargo.toml +++ b/tower/Cargo.toml @@ -81,7 +81,7 @@ pin-project-lite = { version = "0.2.7", optional = true } sync_wrapper = { version = "0.1.1", optional = true } [dev-dependencies] -futures = "0.3" +futures = "^0.3.22" hdrhistogram = { version = "7.0", default-features = false } pin-project-lite = "0.2.7" tokio = { version = "1.6.2", features = ["macros", "sync", "test-util", "rt-multi-thread"] }