Crate features / parking_lot
Feature flags · parking_lot 0.13.0 · from crates.io 2026-10-24
parking_lot features: what each one does, and the line to copy
Short answerparking_lot 0.13.0 has 6 features. Nothing is on by default: turn on what you use. It needs Rust 1.95 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
arc_lock | lock_api/arc_lock | |
deadlock_detection | parking_lot_core/deadlock_detection | |
nightly | parking_lot_core/nightly | |
owning_ref | lock_api/owning_ref | |
send_guard | nothing else (a switch the code checks) | |
serde | lock_api/serde |
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 parking_lot declares (rust-version), and the release that changed it:
- 0.12.2 (2024-04-25): Rust 1.56
- 0.12.4 (2025-05-29): Rust 1.64
- 0.12.5 (2025-10-03): Rust 1.71
- 0.13.0 (2026-10-21): Rust 1.95
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p parking_lot --precise <version>, or use resolver 3, which picks compatible versions for you.
More on parking_lot
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?