1 | [package] |
2 | name = "parking_lot_core" |
3 | version = "0.9.9" |
4 | authors = ["Amanieu d'Antras <amanieu@gmail.com>" ] |
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 = "2018" |
11 | rust-version = "1.49.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 | thread-id = { version = "4.0.0" , optional = true } |
21 | backtrace = { version = "0.3.60" , optional = true } |
22 | |
23 | [target.'cfg(unix)'.dependencies] |
24 | libc = "0.2.95" |
25 | |
26 | [target.'cfg(target_os = "redox")'.dependencies] |
27 | redox_syscall = "0.4" |
28 | |
29 | [target.'cfg(windows)'.dependencies] |
30 | windows-targets = "0.48.0" |
31 | |
32 | [features] |
33 | nightly = [] |
34 | deadlock_detection = ["petgraph" , "thread-id" , "backtrace" ] |
35 | |