blob: bb501be0abb55adf3f94729116b178dbfc841773 [file] [log] [blame]
Jeff Vander Stoepc9a7dc02020-10-14 15:07:49 +02001[package]
2name = "parking_lot"
David LeGare468e33c2022-03-02 16:21:12 +00003version = "0.12.0"
Jeff Vander Stoepc9a7dc02020-10-14 15:07:49 +02004authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
5description = "More compact and efficient implementations of the standard synchronization primitives."
6license = "Apache-2.0/MIT"
7repository = "https://github.com/Amanieu/parking_lot"
8readme = "README.md"
9keywords = ["mutex", "condvar", "rwlock", "once", "thread"]
10categories = ["concurrency"]
11edition = "2018"
12
13[dependencies]
David LeGare468e33c2022-03-02 16:21:12 +000014parking_lot_core = { path = "core", version = "0.9.0" }
15lock_api = { path = "lock_api", version = "0.4.6" }
Jeff Vander Stoepc9a7dc02020-10-14 15:07:49 +020016
17[dev-dependencies]
Joel Galenson875833a2021-09-22 11:13:12 -070018rand = "0.8.3"
Jeff Vander Stoepc9a7dc02020-10-14 15:07:49 +020019
20# Used when testing out serde support.
Joel Galenson875833a2021-09-22 11:13:12 -070021bincode = "1.3.3"
Jeff Vander Stoepc9a7dc02020-10-14 15:07:49 +020022
23[features]
24default = []
Joel Galenson875833a2021-09-22 11:13:12 -070025arc_lock = ["lock_api/arc_lock"]
Jeff Vander Stoepc9a7dc02020-10-14 15:07:49 +020026owning_ref = ["lock_api/owning_ref"]
27nightly = ["parking_lot_core/nightly", "lock_api/nightly"]
28deadlock_detection = ["parking_lot_core/deadlock_detection"]
29serde = ["lock_api/serde"]
Jeff Vander Stoep16823f42020-10-21 21:50:55 +020030send_guard = []
David LeGare468e33c2022-03-02 16:21:12 +000031hardware-lock-elision = []
Jeff Vander Stoepc9a7dc02020-10-14 15:07:49 +020032
33[workspace]
34exclude = ["benchmark"]