Crate features / async-lock
Feature flags · async-lock 3.4.2 · from crates.io 2026-10-24
async-lock features: what each one does, and the line to copy
Short answerasync-lock 3.4.2 has 2 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
loom | event-listener/loom, dep:loom | |
std | yes | event-listener/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-lock declares (rust-version), and the release that changed it:
- 2.5.0 (2022-02-19): Rust 1.43
- 2.7.0 (2023-03-02): Rust 1.48
- 3.0.0 (2023-10-24): Rust 1.59
- 3.3.0 (2024-01-10): Rust 1.60
- 3.4.2 (2025-12-21): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p async-lock --precise <version>, or use resolver 3, which picks compatible versions for you.
More on async-lock
Real downloads, dependents and alternatives: async-lock crate data (818.5K real downloads a day, 374 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2021
Up next
Before you depend on itasync-lock crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?