commit | b048ca8d82e39467f854a728a63700197fec7323 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 18:06:42 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 18:06:42 2023 +0000 |
tree | 8b700f6b52a4aa6c4f1f7cccd12c2baf9b7adebf | |
parent | 5eae0784f3760e7a65944a8e9982356c8c38d359 [diff] | |
parent | b3b9ce3ded7953bf779f4957a0d1d129729a0d1e [diff] |
Make lazycell available to product and vendor am: bf83a0a500 am: bb029d2f15 am: cf08b65d08 am: b3b9ce3ded Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/2475774 Change-Id: Idd92164dd2abaaa262249475ba207bac0300215e Signed-off-by: Automerger Merge Worker <[email protected]>
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.