#once #static #mutable #mut #lazy-evaluation

no-std once_mut

Safe mutable reference to static variable that can be obtained only once

1 unstable release

0.1.1 Oct 1, 2023
0.1.0 Jun 2, 2023

#761 in Concurrency

45 downloads per month

MIT/Apache

7KB
85 lines

Note: once_mut is now a part of lock-free-static crate and no longer maintained separately.

once_mut

Crates.io Docs.rs License

Safe mutable reference to static variable that can be obtained only once.

License

Licensed under either of

at your option.

Contribution

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.

No runtime deps