Crate features / async-channel
Feature flags · async-channel 2.5.0 · from crates.io 2026-10-24
async-channel features: what each one does, and the line to copy
Short answerasync-channel 2.5.0 has 2 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.60 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
portable-atomic | concurrent-queue/portable-atomic, event-listener-strategy/portable-atomic, dep:portable-atomic-util, dep:portable-atomic | |
std | yes | concurrent-queue/std, event-listener-strategy/std |
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-channel declares (rust-version), and the release that changed it:
- 1.7.0 (2022-08-08): Rust 1.38
- 1.9.0 (2023-07-08): Rust 1.45
- 2.0.0 (2023-10-25): Rust 1.59
- 2.2.0 (2024-02-08): Rust 1.60
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p async-channel --precise <version>, or use resolver 3, which picks compatible versions for you.
More on async-channel
Real downloads, dependents and alternatives: async-channel crate data (881.8K real downloads a day, 1,037 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2021
Up next
Before you depend on itasync-channel crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?