1[package]
2name = "parking_lot"
3version = "0.12.3"
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 = "2021"
12rust-version = "1.56"
13
14[package.metadata.docs.rs]
15features = ["arc_lock", "serde", "deadlock_detection"]
16rustdoc-args = ["--generate-link-to-definition"]
17
18[package.metadata.playground]
19features = ["arc_lock", "serde", "deadlock_detection"]
20
21[dependencies]
22parking_lot_core = { path = "core", version = "0.9.0" }
23lock_api = { path = "lock_api", version = "0.4.6" }
24
25[dev-dependencies]
26rand = "0.8.3"
27
28# Used when testing out serde support.
29bincode = "1.3.3"
30
31[features]
32default = []
33arc_lock = ["lock_api/arc_lock"]
34owning_ref = ["lock_api/owning_ref"]
35nightly = ["parking_lot_core/nightly", "lock_api/nightly"]
36deadlock_detection = ["parking_lot_core/deadlock_detection"]
37serde = ["lock_api/serde"]
38send_guard = []
39hardware-lock-elision = []
40
41[workspace]
42exclude = ["benchmark"]
43