blob: e6a805f54730b92a0379239888ca3c985f3fe825 [file] [log] [blame]
Jeff Vander Stoep603c38e2020-10-14 15:16:55 +02001[package]
2name = "lock_api"
David LeGare93e109d2022-03-02 16:21:15 +00003version = "0.4.6"
Jeff Vander Stoep603c38e2020-10-14 15:16:55 +02004authors = ["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]
Jeff Vander Stoepfb59a112020-10-21 21:42:40 +020013scopeguard = { version = "1.1.0", default-features = false }
14owning_ref = { version = "0.4.1", optional = true }
Jeff Vander Stoep603c38e2020-10-14 15:16:55 +020015
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.
Joel Galenson32729712021-09-22 11:10:14 -070019serde = { version = "1.0.126", default-features = false, optional = true }
Jeff Vander Stoep603c38e2020-10-14 15:16:55 +020020
21[features]
22nightly = []
Joel Galenson32729712021-09-22 11:10:14 -070023arc_lock = []