Crate features / moka
Feature flags · moka 0.12.16 · from crates.io 2026-10-24
moka features: what each one does, and the line to copy
Short answermoka 0.12.16 has 6 features. Nothing is on by default: turn on what you use. It needs Rust 1.71.1 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
atomic64 | nothing else (a switch the code checks) | |
future | dep:async-lock, dep:event-listener, dep:futures-util | |
logging | dep:log | |
quanta | dep:quanta | |
sync | nothing else (a switch the code checks) | |
unstable-debug-counters | future |
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 moka declares (rust-version), and the release that changed it:
- 0.7.2 (2022-02-06): Rust 1.51
- 0.10.2 (2023-04-04): Rust 1.60
- 0.11.2 (2023-06-08): Rust 1.65
- 0.9.8 (2023-07-04): Rust 1.60
- 0.11.3 (2023-08-06): Rust 1.65
- 0.12.9 (2025-01-02): Rust 1.70
- 0.12.12 (2025-12-21): Rust 1.71.1
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p moka --precise <version>, or use resolver 3, which picks compatible versions for you.
More on moka
Real downloads, dependents and alternatives: moka crate data (527.7K real downloads a day, 743 dependents).
docs.rs feature list · crates.io · license (MIT OR Apache-2.0) AND Apache-2.0 · edition 2021
Up next
Before you depend on itmoka crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?