commit | a106af9ab641fa11c2ff5716e7bacbdb0a4ff9d9 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Jul 07 00:50:59 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 07 00:50:59 2020 +0000 |
tree | 36d64b0e1815581624e6958b512466b6276e7099 | |
parent | d21abaae783d277ae9934299ae0856986e809346 [diff] | |
parent | 0f6f1090b1358ea30a7c2e26b9a48c4aa632bdf8 [diff] |
Support building all variants. am: fea35c536c am: 0f6f1090b1 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1355924 Change-Id: Ic489f59482c855b206f58817f8e91f9a7e6f9ebc
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.