Crate features / futures-util
Feature flags · futures-util 0.3.34 · from crates.io 2026-10-24
futures-util features: what each one does, and the line to copy
Short answerfutures-util 0.3.34 has 15 features. By default it turns on std, async-await, async-await-macro; add default-features = false to start from nothing. It needs Rust 1.71 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | futures-core/alloc, futures-task/alloc, slab | |
async-await | yes | nothing else (a switch the code checks) |
async-await-macro | yes | async-await, futures-macro |
bilock | nothing else (a switch the code checks) | |
cfg-target-has-atomic | nothing else (a switch the code checks) | |
channel | std, futures-channel | |
compat | std, futures_01, libc | |
io | std, futures-io, memchr | |
io-compat | io, compat, tokio-io, libc | |
portable-atomic | futures-core/portable-atomic, portable_atomic_crate | |
portable-atomic-alloc | portable-atomic-util/alloc, portable-atomic | |
sink | futures-sink | |
std | yes | alloc, futures-core/std, futures-task/std, slab/std |
unstable | futures-core/unstable, futures-task/unstable | |
write-all-vectored | io |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version futures-util declares (rust-version), and the release that changed it:
- 0.3.31 (2024-10-05): Rust 1.56
- 0.3.32 (2026-02-15): Rust 1.71
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p futures-util --precise <version>, or use resolver 3, which picks compatible versions for you.
More on futures-util
Real downloads, dependents and alternatives: futures-util crate data (3.2M real downloads a day, 11,117 dependents).
Security record: futures-util advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2018
Up next
Before you depend on itfutures-util crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?