oncelock 0.1.0-alpha.0

A fast and simple implementation of OnceLock
Documentation
# lazylock.rs
<!-- cargo-rdme start -->

Implements the lazy initialization primitives [`OnceLock`] and [`OnceCell`].

These mirror the standard library types [`std::sync::OnceLock`] and [`std::cell::OnceCell`],
but work on much older versions of the rust compiler.

Optionally uses [`parking_lot`] or [`spin`] for synchronization.

Consider using the [`once_cell`] crate if you are not worried about supporting old rust versions.
It offers many more features.

[`once_cell`]: https://docs.rs/once_cell/latest/once_cell/
[`parking_lot`]: https://docs.rs/parking_lot/latest/parking_lot/
[`spin`]: https://docs.rs/spin/latest/spin/

<!-- cargo-rdme end -->

[`std::cell::OnceCell`]: https://doc.rust-lang.org/std/cell/struct.OnceCell.html
[`std::sync::OnceLock`]: https://doc.rust-lang.org/std/sync/struct.OnceLock.html

## License
Licensed under either the [Apache 2.0 License](./LICENSE-APACHE.txt) or [MIT License](./LICENSE-MIT.txt) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.