blob: f053e455897a997bbef132b3840d6349008d58d7 [file] [log] [blame]
Jeff Vander Stoepcd07f732020-10-14 15:10:30 +02001[package]
2name = "parking_lot_core"
David LeGare2aced652022-03-02 16:20:46 +00003version = "0.9.1"
Jeff Vander Stoepcd07f732020-10-14 15:10:30 +02004authors = ["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]
Haibo Huang27f39982020-12-22 18:16:15 -080013cfg-if = "1.0.0"
Haibo Huang4e04f9d2021-02-12 17:31:28 -080014smallvec = "1.6.1"
Jeff Vander Stoep3bd61482020-10-21 21:46:08 +020015petgraph = { version = "0.5.1", optional = true }
Joel Galensone3392072021-09-22 11:13:35 -070016thread-id = { version = "4.0.0", optional = true }
17backtrace = { version = "0.3.60", optional = true }
Jeff Vander Stoepcd07f732020-10-14 15:10:30 +020018
19[target.'cfg(unix)'.dependencies]
Joel Galensone3392072021-09-22 11:13:35 -070020libc = "0.2.95"
Jeff Vander Stoepcd07f732020-10-14 15:10:30 +020021
22[target.'cfg(target_os = "redox")'.dependencies]
Joel Galensone3392072021-09-22 11:13:35 -070023redox_syscall = "0.2.8"
Jeff Vander Stoepcd07f732020-10-14 15:10:30 +020024
Jeff Vander Stoepcd07f732020-10-14 15:10:30 +020025[target.'cfg(windows)'.dependencies]
David LeGare2aced652022-03-02 16:20:46 +000026windows-sys = { version = "0.32", features = [
27 "Win32_Foundation",
28 "Win32_System_LibraryLoader",
29 "Win32_System_SystemServices",
30 "Win32_System_WindowsProgramming",
31] }
Jeff Vander Stoepcd07f732020-10-14 15:10:30 +020032
33[features]
34nightly = []
35deadlock_detection = ["petgraph", "thread-id", "backtrace"]