| 1 | [package] |
| 2 | name = "lock_api" |
| 3 | version = "0.4.12" |
| 4 | authors = ["Amanieu d'Antras <amanieu@gmail.com>" ] |
| 5 | description = "Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std." |
| 6 | license = "MIT OR Apache-2.0" |
| 7 | repository = "https://github.com/Amanieu/parking_lot" |
| 8 | keywords = ["mutex" , "rwlock" , "lock" , "no_std" ] |
| 9 | categories = ["concurrency" , "no-std" ] |
| 10 | edition = "2021" |
| 11 | rust-version = "1.56.0" |
| 12 | |
| 13 | [package.metadata.docs.rs] |
| 14 | all-features = true |
| 15 | rustdoc-args = ["--cfg" , "docsrs" , "--generate-link-to-definition" ] |
| 16 | |
| 17 | [dependencies] |
| 18 | scopeguard = { version = "1.1.0" , default-features = false } |
| 19 | owning_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. |
| 24 | serde = { version = "1.0.126" , default-features = false, optional = true } |
| 25 | |
| 26 | [build-dependencies] |
| 27 | autocfg = "1.1.0" |
| 28 | |
| 29 | [features] |
| 30 | default = ["atomic_usize" ] |
| 31 | nightly = [] |
| 32 | arc_lock = [] |
| 33 | atomic_usize = [] |
| 34 | |