mirror of
https://gitee.com/openharmony/third_party_rust_lazycell
synced 2024-11-23 07:29:59 +00:00
f6121a0452
Merge pull request !3 from 李可/N/A |
||
---|---|---|
src | ||
tests | ||
.clog.toml | ||
.gitignore | ||
.travis.yml | ||
BUILD.gn | ||
Cargo.toml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
CONTRIBUTORS.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
README.OpenSource | ||
rustfmt.toml |
lazycell
Linux | |
Rust library providing a lazily filled Cell.
Table of Contents
Usage
Add the following to your Cargo.toml
:
[dependencies]
lazycell = "1.2"
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.