commit | 84f74a3737bc6acce9f2c12e731ebeddd0271014 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Wed Dec 15 18:07:00 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Dec 15 18:07:00 2021 +0000 |
tree | c76731f80d33effafa20d23f668be11b34d66da2 | |
parent | b1dd0caec5e28853cdab329308e1a330c9f9809a [diff] | |
parent | 5df31a5e3eda6f5de5cc38c4a6f59b8314488aa9 [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: 22b0736188 am: de9e6b1dbd am: 4754b15965 am: 5df31a5e3e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1912605 Change-Id: Icaeca268ebc0538b7daebcbe43805069f55d5b29
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.