[package] name = "parking_lot_core" version = "0.9.3" authors = ["Amanieu d'Antras "] description = "An advanced API for creating custom synchronization primitives." license = "MIT OR Apache-2.0" repository = "https://github.com/Amanieu/parking_lot" keywords = ["mutex", "condvar", "rwlock", "once", "thread"] categories = ["concurrency"] edition = "2018" [dependencies] cfg-if = "1.0.0" smallvec = "1.6.1" petgraph = { version = "0.6.0", optional = true } thread-id = { version = "4.0.0", optional = true } backtrace = { version = "0.3.60", optional = true } [target.'cfg(unix)'.dependencies] libc = "0.2.95" [target.'cfg(target_os = "redox")'.dependencies] redox_syscall = "0.2.8" [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.36.0", features = [ "Win32_Foundation", "Win32_System_LibraryLoader", "Win32_System_SystemServices", "Win32_System_WindowsProgramming", ] } [features] nightly = [] deadlock_detection = ["petgraph", "thread-id", "backtrace"]