commit | 263bdc94820d9ee1e2a0d5fcf14edaa53605e3de | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Aug 28 00:30:49 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Aug 28 00:30:49 2020 +0000 |
tree | a0de65691088c3540a4c003a367560922abb794f | |
parent | 40d053da619d0a8c60c9e2d976c8208fa2e7f2f8 [diff] | |
parent | a524d667b0556c98111c7b2f8333a44782655875 [diff] |
Fix lazycell/METADATA am: 765e280cee am: 4cac77f8fd am: 7101d79b3d am: d663603680 am: b0279a2dd8 am: a524d667b0 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1414110 Change-Id: I897e87f5ab8daec0bb3dee67b6f84bdca4c7ebc7
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.