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