Crate features / async-std
Feature flags · async-std 1.13.2 · from crates.io 2026-10-24
async-std features: what each one does, and the line to copy
Short answerasync-std 1.13.2 has 9 features. By default it turns on std, async-global-executor, async-io, futures-lite, kv-log-macro, log, pin-project-lite, gloo-timers; add default-features = false to start from nothing. It needs Rust 1.63 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | futures-core/alloc, pin-project-lite | |
attributes | async-attributes | |
docs | attributes, unstable, default | |
io_safety | nothing else (a switch the code checks) | |
std | yes | alloc, crossbeam-utils, futures-core/std, futures-io, memchr, once_cell, pin-utils, slab, wasm-bindgen-futures, futures-channel, async-channel, async-lock |
tokio02 | async-global-executor/tokio02 | |
tokio03 | async-global-executor/tokio03 | |
tokio1 | async-global-executor/tokio | |
unstable | std, async-io, async-process |
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 async-std declares (rust-version), and the release that changed it:
- 1.13.1 (2025-03-15): Rust 1.63
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p async-std --precise <version>, or use resolver 3, which picks compatible versions for you.
More on async-std
Real downloads, dependents and alternatives: async-std crate data (138.3K real downloads a day, 1,903 dependents).
Security record: async-std advisories.
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2018
Up next
Before you depend on itasync-std crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?