|0.3.2||Jan 4, 2021|
|0.3.1||Nov 24, 2020|
|0.2.1||Jul 10, 2020|
|0.2.0||Dec 24, 2019|
|0.1.2||Aug 20, 2019|
#54 in Concurrency
4,529 downloads per month
Used in 7 crates (5 directly)
Synchronization primitives for lazy and one-time initialization using low-level
blocking mechanisms with clear distinction between blocking and non-blocking
methods and additional support for
#[no_std] environments when using
To use this crate, add the following to your
[dependencies] conquer-once = "0.3.2"
The minimum supported Rust version for this crate is 1.36.0.
conquer-once enables the
With this feature enabled, the crate exports the
types that use an OS and standard library reliant blocking mechanism.
Without this feature, the crate is
#[no_std] environment compatible, but only
exports the types in the crate's
spin sub-module, which use spin-locks.
The feature can be disabled by specifying the dependency as follows:
[dependencies.conquer-once] version = "0.3.2" use-default-features = false
conquer-once is distributed under the terms of both the MIT license and the
Apache License (Version 2.0).