1[package]
2name = "parking_lot_core"
3version = "0.9.9"
4authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
5description = "An advanced API for creating custom synchronization primitives."
6license = "MIT OR Apache-2.0"
7repository = "https://github.com/Amanieu/parking_lot"
8keywords = ["mutex", "condvar", "rwlock", "once", "thread"]
9categories = ["concurrency"]
10edition = "2018"
11rust-version = "1.49.0"
12
13[package.metadata.docs.rs]
14rustdoc-args = ["--generate-link-to-definition"]
15
16[dependencies]
17cfg-if = "1.0.0"
18smallvec = "1.6.1"
19petgraph = { version = "0.6.0", optional = true }
20thread-id = { version = "4.0.0", optional = true }
21backtrace = { version = "0.3.60", optional = true }
22
23[target.'cfg(unix)'.dependencies]
24libc = "0.2.95"
25
26[target.'cfg(target_os = "redox")'.dependencies]
27redox_syscall = "0.4"
28
29[target.'cfg(windows)'.dependencies]
30windows-targets = "0.48.0"
31
32[features]
33nightly = []
34deadlock_detection = ["petgraph", "thread-id", "backtrace"]
35