commit | 52d6d58fbd7216c2159e241a9ee6485292395f0c | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Wed Feb 17 01:35:09 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Feb 17 01:35:09 2021 +0000 |
tree | 8427b39add9086a50d82eeb647256704ba2c3fd1 | |
parent | 28f4510077769ab6d9585e10f55c83ae3790737e [diff] | |
parent | 7624a07df38d09531948cd3a50d239134d4ef11f [diff] |
Merge "Clean up rust_test_host TEST_MAPPING after default update" am: 1406677ddd am: 450bcb57ea am: af6ec6ee11 am: 7624a07df3 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1589996 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8fe4ff8754d5a3fc4bdd2c13d10baafeffb133a9
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.