commit | 20810e2a3827db2ccd57db2986e97c2f288820c6 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Jul 07 01:45:40 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 07 01:45:40 2020 +0000 |
tree | 36d64b0e1815581624e6958b512466b6276e7099 | |
parent | 69aab99f85bad5086f4c54b1a31a428e1da3062e [diff] | |
parent | 7a907b377d748e9a947fad0c5b542705b9a5b6c4 [diff] |
Support building all variants. am: fea35c536c am: 0f6f1090b1 am: a106af9ab6 am: 7a907b377d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1355924 Change-Id: I7a6a6762947b4fdf834165228b0985006dcc0a5f
Rust library providing a lazily filled Cell.
Add the following to your Cargo.toml
:
[dependencies] lazycell = "1.2"
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.