• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.56"
15name = "parking_lot"
16version = "0.12.3"
17authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
18build = false
19autobins = false
20autoexamples = false
21autotests = false
22autobenches = false
23description = "More compact and efficient implementations of the standard synchronization primitives."
24readme = "README.md"
25keywords = [
26    "mutex",
27    "condvar",
28    "rwlock",
29    "once",
30    "thread",
31]
32categories = ["concurrency"]
33license = "MIT OR Apache-2.0"
34repository = "https://github.com/Amanieu/parking_lot"
35
36[package.metadata.docs.rs]
37features = [
38    "arc_lock",
39    "serde",
40    "deadlock_detection",
41]
42rustdoc-args = ["--generate-link-to-definition"]
43
44[package.metadata.playground]
45features = [
46    "arc_lock",
47    "serde",
48    "deadlock_detection",
49]
50
51[lib]
52name = "parking_lot"
53path = "src/lib.rs"
54
55[[test]]
56name = "issue_392"
57path = "tests/issue_392.rs"
58
59[[test]]
60name = "issue_203"
61path = "tests/issue_203.rs"
62
63[dependencies.lock_api]
64version = "0.4.6"
65
66[dependencies.parking_lot_core]
67version = "0.9.0"
68
69[dev-dependencies.bincode]
70version = "1.3.3"
71
72[dev-dependencies.rand]
73version = "0.8.3"
74
75[features]
76arc_lock = ["lock_api/arc_lock"]
77deadlock_detection = ["parking_lot_core/deadlock_detection"]
78default = []
79hardware-lock-elision = []
80nightly = [
81    "parking_lot_core/nightly",
82    "lock_api/nightly",
83]
84owning_ref = ["lock_api/owning_ref"]
85send_guard = []
86serde = ["lock_api/serde"]
87