From c70aedd24c061b296b49f30461690840ecdcc9f0 Mon Sep 17 00:00:00 2001 From: Rob Wagner Date: Tue, 21 Jan 2025 18:54:33 -0500 Subject: [PATCH] Enable alloc feature for the futures crate --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9211990..271a4d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,10 +32,12 @@ serde_json = { version = "1", optional = true } # Optional dependencies required for the `auto-vary` feature. tokio = { version = "1", features = ["sync"], optional = true } -futures = { version = "0.3", default-features = false, optional = true } +futures = { version = "0.3", default-features = false, features = [ + "alloc", +], optional = true } [dev-dependencies] -axum = { version = "0.8", default-features = false} +axum = { version = "0.8", default-features = false } axum-test = "17" tokio = { version = "1", features = ["full"] } tokio-test = "0.4"