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