commit | 4754b159650228e2f9b212dce2056139be5e80f7 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Dec 15 16:43:22 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Dec 15 16:43:22 2021 +0000 |
tree | c76731f80d33effafa20d23f668be11b34d66da2 | |
parent | fff6d9d2b311cec57139e4f5b6a2e1292e7e3f4e [diff] | |
parent | de9e6b1dbd19d68135ef58efe01b33f8285ee547 [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: 22b0736188 am: de9e6b1dbd Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1912605 Change-Id: Iee1773cfcc02328185869f85e450dbd4ce84b4a6
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.