commit | 511dd9c5c6e91905fe92dadf906c735d1c332157 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Thu Nov 09 02:04:08 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Nov 09 02:04:08 2023 +0000 |
tree | b03305890b3a3cf959465318c23c6ac72a6875d7 | |
parent | b3b9ce3ded7953bf779f4957a0d1d129729a0d1e [diff] | |
parent | c7e8f75af23c30723b107c413d3aec2df4c7a55c [diff] |
Migrate to cargo_embargo. am: c7e8f75af2 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/2822380 Change-Id: Ie140cb40d0313cd36e3fb54c734ecb26c760e89f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.