commit | 117e4211e3160a7e901fddf4119b84d680fde865 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Oct 09 03:23:05 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 09 03:23:05 2020 +0000 |
tree | a0de65691088c3540a4c003a367560922abb794f | |
parent | b0279a2dd8e64e1ce81104d9517ca076987909ba [diff] | |
parent | 3afc198c91d2e86330a891aee99d43dc6b293bed [diff] |
[automerger skipped] Skip ab/6749736 in stage. am: e71c725162 -s ours am: 3afc198c91 -s ours am skip reason: Change-Id Ic0e117c6a331802ac4549639dd0a5afd3627d60a with SHA-1 d3dfc909b9 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/12796954 Change-Id: I560c96e2b644d93bcc9e40dd8a989537ea71315d
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.