Registry / utility / lazy-init

lazy-init

JSON →
library0.5.1rscratesunverified

Lazy initialization.

# Cargo.toml [dependencies] lazy-init = "0.5.1"
INSTALL
IMPORT
SIG · LAZY-INIT
L
lazy-init
utilityrustv0.5.1
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.

Lazy
use lazy_init::Lazy;

Create a lazily initialized value.

use lazy_init::Lazy; fn main() { let lazy = Lazy::new(|| 42); println!("Value: {}", *lazy); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lazy-init — cargo add lazy-init · libregistry