Registry / async / conquer-once

conquer-once

JSON →
library0.4.0rscratesunverified

Synchronization primitives for lazy and one-time initialization.

# Cargo.toml [dependencies] conquer-once = "0.4.0"
INSTALL
IMPORT
SIG · CONQUER-ONCE
C
conquer-once
asyncrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OnceCell
use conquer_once::OnceCell;

Uses OnceCell for one-time initialization of a static value.

use conquer_once::OnceCell; fn main() { static CELL: OnceCell<i32> = OnceCell::new(); CELL.set(42).unwrap(); println!("Value: {}", CELL.get().unwrap()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
33
Resources
conquer-once — cargo add conquer-once · libregistry