mirror of
https://github.com/openharmony/third_party_rust_lazycell.git
synced 2026-07-01 21:04:09 -04:00
d954e60485e2b5ab2474fb4e60e89cb293de9a24
This crate uses nothing from the std crate that's not already present in libcore. Therefore, add a #![no_std] mode.
lazycell
| Linux | |
|
|
|
Rust library providing a lazily filled Cell.
Table of Contents
Usage
Add the following to your Cargo.toml:
[dependencies]
lazycell = "0.6"
And in your lib.rs or main.rs:
extern crate lazycell;
See the API docs for information on using the crate in your library.
Contributing
Contributions are always welcome! If you have an idea for something to add (code, documentation, tests, examples, etc.) feel free to give it a shot.
Please read CONTRIBUTING.md before you start contributing.
Credits
The LazyCell library is based originally on work by The Rust Project Developers for the project crates.io.
The list of contributors to this project can be found at CONTRIBUTORS.md.
License
LazyCell is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE, and LICENSE-MIT for details.
Description
Languages
Rust
100%