commit | b1dd0caec5e28853cdab329308e1a330c9f9809a | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Tue Oct 19 15:57:48 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Oct 19 15:57:48 2021 +0000 |
tree | 91688f3639e1cc0dd70d3cfb83206e7c57bc3690 | |
parent | 8cd9d36e20d742da42254fcf498031d371a113bd [diff] | |
parent | 87e76bb1795c926c7ab54d42814583ba3118c24a [diff] |
Enable tests am: b51ade7241 am: 1a3f99f3d7 am: 0e77863bb9 am: fff6d9d2b3 am: 87e76bb179 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1862633 Change-Id: Ie0952f80d28a4556d7b6603d75445a86dbc2576d
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.