diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2020-10-14 15:10:30 +0200 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2020-10-14 15:10:30 +0200 |
commit | cd07f7348693ec1aa1260392fbbeea574eb1bd7a (patch) | |
tree | 606038c0a7e33bc4ced68c148d769e3efef1c36d /Cargo.toml.orig | |
parent | 18c5dfd56d007642a05390def0fd108fe56cb53c (diff) | |
download | parking_lot_core-cd07f7348693ec1aa1260392fbbeea574eb1bd7a.tar.gz |
Import parking_lot_core 0.7.2
And add metadata files using the following command:
get_rust_pkg.py --add3prf -v parking_lot_core-0.7.2 -o parking_lot_core
Test: none
Change-Id: Ic6a5d490ae7c01e5321b465768d402b8302ca448
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig new file mode 100644 index 0000000..f5a91d4 --- /dev/null +++ b/Cargo.toml.orig @@ -0,0 +1,34 @@ +[package] +name = "parking_lot_core" +version = "0.7.2" +authors = ["Amanieu d'Antras <amanieu@gmail.com>"] +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 = "0.1.5" +smallvec = "1.0" +petgraph = { version = "0.5", optional = true } +thread-id = { version = "3.2.0", optional = true } +backtrace = { version = "0.3.2", optional = true } + +[target.'cfg(unix)'.dependencies] +libc = "0.2.55" + +[target.'cfg(target_os = "redox")'.dependencies] +redox_syscall = "0.1" + +[target.'cfg(target_os = "cloudabi")'.dependencies] +cloudabi = "0.0.3" + +[target.'cfg(windows)'.dependencies] +winapi = { version = "0.3", features = ["winnt", "ntstatus", "minwindef", + "winerror", "winbase", "errhandlingapi", "handleapi"] } + +[features] +nightly = [] +deadlock_detection = ["petgraph", "thread-id", "backtrace"] |