[package] name = "parking_lot_core" version = "0.8.3" authors = ["Amanieu d'Antras "] description = "An advanced API for creating custom synchronization primitives." license = "Apache-2.0/MIT" 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.5.1", optional = true } thread-id = { version = "3.3.0", optional = true } backtrace = { version = "0.3.49", optional = true } instant = "0.1.4" [target.'cfg(unix)'.dependencies] libc = "0.2.71" [target.'cfg(target_os = "redox")'.dependencies] redox_syscall = "0.2.4" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.8", features = ["winnt", "ntstatus", "minwindef", "winerror", "winbase", "errhandlingapi", "handleapi"] } [features] nightly = [] deadlock_detection = ["petgraph", "thread-id", "backtrace"]