| 1 |
[package] |
| 2 |
name = "parking_lot" |
| 3 |
version = "0.12.5" |
| 4 |
authors = ["Amanieu d'Antras <[email protected]>"] |
| 5 |
description = "More compact and efficient implementations of the standard synchronization primitives." |
| 6 |
license = "MIT OR Apache-2.0" |
| 7 |
repository = "https://github.com/Amanieu/parking_lot" |
| 8 |
readme = "README.md" |
| 9 |
keywords = ["mutex", "condvar", "rwlock", "once", "thread"] |
| 10 |
categories = ["concurrency"] |
| 11 |
edition = "2021" |
| 12 |
rust-version = "1.71" |
| 13 |
|
| 14 |
[package.metadata.docs.rs] |
| 15 |
features = ["arc_lock", "serde", "deadlock_detection"] |
| 16 |
rustdoc-args = ["--generate-link-to-definition"] |
| 17 |
|
| 18 |
[package.metadata.playground] |
| 19 |
features = ["arc_lock", "serde", "deadlock_detection"] |
| 20 |
|
| 21 |
[dependencies] |
| 22 |
parking_lot_core = { path = "core", version = "0.9.12" } |
| 23 |
lock_api = { path = "lock_api", version = "0.4.14" } |
| 24 |
|
| 25 |
[dev-dependencies] |
| 26 |
rand = "0.8.3" |
| 27 |
|
| 28 |
# Used when testing out serde support. |
| 29 |
bincode = "1.3.3" |
| 30 |
|
| 31 |
[features] |
| 32 |
default = [] |
| 33 |
arc_lock = ["lock_api/arc_lock"] |
| 34 |
owning_ref = ["lock_api/owning_ref"] |
| 35 |
nightly = ["parking_lot_core/nightly", "lock_api/nightly"] |
| 36 |
deadlock_detection = ["parking_lot_core/deadlock_detection"] |
| 37 |
serde = ["lock_api/serde"] |
| 38 |
send_guard = [] |
| 39 |
hardware-lock-elision = [] |
| 40 |
|
| 41 |
[workspace] |
| 42 |
exclude = ["benchmark"] |