1[package]
2name = "parking_lot"
3version = "0.12.1"
4authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
5description = "More compact and efficient implementations of the standard synchronization primitives."
6license = "MIT OR Apache-2.0"
7repository = "https://github.com/Amanieu/parking_lot"
8readme = "README.md"
9keywords = ["mutex", "condvar", "rwlock", "once", "thread"]
10categories = ["concurrency"]
11edition = "2018"
12
13[dependencies]
14parking_lot_core = { path = "core", version = "0.9.0" }
15lock_api = { path = "lock_api", version = "0.4.6" }
16
17[dev-dependencies]
18rand = "0.8.3"
19
20# Used when testing out serde support.
21bincode = "1.3.3"
22
23[features]
24default = []
25arc_lock = ["lock_api/arc_lock"]
26owning_ref = ["lock_api/owning_ref"]
27nightly = ["parking_lot_core/nightly", "lock_api/nightly"]
28deadlock_detection = ["parking_lot_core/deadlock_detection"]
29serde = ["lock_api/serde"]
30send_guard = []
31hardware-lock-elision = []
32
33[workspace]
34exclude = ["benchmark"]
35