Skip to content

Commit c70aedd

Browse files
committed
Enable alloc feature for the futures crate
1 parent 6756b25 commit c70aedd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Cargo.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ serde_json = { version = "1", optional = true }
3232

3333
# Optional dependencies required for the `auto-vary` feature.
3434
tokio = { version = "1", features = ["sync"], optional = true }
35-
futures = { version = "0.3", default-features = false, optional = true }
35+
futures = { version = "0.3", default-features = false, features = [
36+
"alloc",
37+
], optional = true }
3638

3739
[dev-dependencies]
38-
axum = { version = "0.8", default-features = false}
40+
axum = { version = "0.8", default-features = false }
3941
axum-test = "17"
4042
tokio = { version = "1", features = ["full"] }
4143
tokio-test = "0.4"

0 commit comments

Comments
 (0)