commit | ee68631b5f82afafb90c2244e2e074c569c52f30 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 20 01:05:26 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 20 01:05:26 2021 +0000 |
tree | 91688f3639e1cc0dd70d3cfb83206e7c57bc3690 | |
parent | 00125af762b54371a4ac19e209f6bf72db79ee8b [diff] | |
parent | b1dd0caec5e28853cdab329308e1a330c9f9809a [diff] |
Snap for 7839089 from b1dd0caec5e28853cdab329308e1a330c9f9809a to tm-release Change-Id: I2fbf4030063bbdf010834b5401ac5815e8e905d3
Rust library providing a lazily filled Cell.
Add the following to your Cargo.toml
:
[dependencies] lazycell = "1.3"
And in your lib.rs
or main.rs
:
extern crate lazycell;
See the API docs for information on using the crate in your library.
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.
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.
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.