1[package]
2name = "lock_api"
3version = "0.4.11"
4authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
5description = "Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std."
6license = "MIT OR Apache-2.0"
7repository = "https://github.com/Amanieu/parking_lot"
8keywords = ["mutex", "rwlock", "lock", "no_std"]
9categories = ["concurrency", "no-std"]
10edition = "2018"
11rust-version = "1.49.0"
12
13[package.metadata.docs.rs]
14all-features = true
15rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
16
17[dependencies]
18scopeguard = { version = "1.1.0", default-features = false }
19owning_ref = { version = "0.4.1", optional = true }
20
21# Optional dependency for supporting serde. Optional crates automatically
22# create a feature with the same name as the crate, so if you need serde
23# support, just pass "--features serde" when building this crate.
24serde = { version = "1.0.126", default-features = false, optional = true }
25
26[build-dependencies]
27autocfg = "1.1.0"
28
29[features]
30default = ["atomic_usize"]
31nightly = []
32arc_lock = []
33atomic_usize = []
34