commit | b0279a2dd8e64e1ce81104d9517ca076987909ba | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Aug 27 23:47:17 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 27 23:47:17 2020 +0000 |
tree | a0de65691088c3540a4c003a367560922abb794f | |
parent | 67ac39f11da8c4fec7e40af94f20d20e14cc479a [diff] | |
parent | d66360368051826cbce74c066fecfee5f387a98a [diff] |
Fix lazycell/METADATA am: 765e280cee am: 4cac77f8fd am: 7101d79b3d am: d663603680 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1414110 Change-Id: I78f747dd32a9404acd8fb918625c5c346d443f44
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.