Cargo Features

ParkingLot has no features set by default.

[dependencies]
parking_lot = { version = "0.12.3", features = ["arc_lock", "owning_ref", "nightly", "deadlock_detection", "serde", "hardware-lock-elision"] }
arc_lock

Enables arc_lock of lock_api

owning_ref

Enables owning_ref of lock_api

nightly

Enables nightly of lock_api and parking_lot_core

deadlock_detection

Enables deadlock_detection of parking_lot_core

Affects parking_lot::deadlock

serde

Enables serde of lock_api

send_guard hardware-lock-elision