Crate static_initializer

Source
Expand description

§Global non-lazy zero-cost statics without const fn.

Useful for static values that cannot be initialized through const fn but cannot incur the memory & performance cost of a [std::sync::LazyLock].

§no_std support

this crate is no_std.

Macros§

static_init
Global non-lazy zero-cost statics without const fn.