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