Skip to content

Commit 4d0c184

Browse files
committed
chore(dependencies): enable futures-util/alloc for tests
1 parent 2a093c0 commit 4d0c184

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ want = { version = "0.3", optional = true }
4343
[dev-dependencies]
4444
form_urlencoded = "1"
4545
futures-channel = { version = "0.3", features = ["sink"] }
46-
futures-util = { version = "0.3", default-features = false, features = ["sink"] }
46+
futures-util = { version = "0.3", default-features = false, features = ["alloc", "sink"] }
4747
http-body-util = "0.1"
4848
pretty_env_logger = "0.5"
4949
spmc = "0.3"
@@ -85,7 +85,7 @@ client = ["dep:want", "dep:pin-project-lite", "dep:smallvec"]
8585
server = ["dep:httpdate", "dep:pin-project-lite", "dep:smallvec"]
8686

8787
# C-API support (currently unstable (no semver))
88-
ffi = ["dep:libc", "dep:http-body-util"]
88+
ffi = ["dep:libc", "dep:http-body-util", "futures-util?/alloc"]
8989

9090
# Utilize tracing (currently unstable)
9191
tracing = ["dep:tracing"]

0 commit comments

Comments
 (0)