This library currently provides Mutex implementations which are based on parking_lot
making them small (only a usize
large), fast, and configurable in #![no_std]
environments.
Add this to your Cargo.toml
:
toml
[dependencies]
yaar_lock = "0.1"
To disable the default provided OS implements for #![no_std]
provided by the os
feature, set the default features manually:
toml
[dependencies]
yaar_lock = { version = "0.1", default-features = false }
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.