From 4d0c184f935adf93ed05b86ec3a16e432aa81706 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Tue, 12 Mar 2024 08:55:44 -0400 Subject: [PATCH] chore(dependencies): enable futures-util/alloc for tests --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 023750ca4c..860b10c359 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ want = { version = "0.3", optional = true } [dev-dependencies] form_urlencoded = "1" futures-channel = { version = "0.3", features = ["sink"] } -futures-util = { version = "0.3", default-features = false, features = ["sink"] } +futures-util = { version = "0.3", default-features = false, features = ["alloc", "sink"] } http-body-util = "0.1" pretty_env_logger = "0.5" spmc = "0.3" @@ -85,7 +85,7 @@ client = ["dep:want", "dep:pin-project-lite", "dep:smallvec"] server = ["dep:httpdate", "dep:pin-project-lite", "dep:smallvec"] # C-API support (currently unstable (no semver)) -ffi = ["dep:libc", "dep:http-body-util"] +ffi = ["dep:libc", "dep:http-body-util", "futures-util?/alloc"] # Utilize tracing (currently unstable) tracing = ["dep:tracing"]