| 1 |
[package] |
| 2 |
name = "lock_api" |
| 3 |
version = "0.4.14" |
| 4 |
authors = ["Amanieu d'Antras <[email protected]>"] |
| 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.71.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 |
[features] |
| 27 |
default = ["atomic_usize"] |
| 28 |
nightly = [] |
| 29 |
arc_lock = [] |
| 30 |
atomic_usize = [] |