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