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