commit | aa47e5fbafa26aa36cdc2b69fbf595f5ff25ccf8 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Nov 25 02:13:40 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Nov 25 02:13:40 2020 +0000 |
tree | 6695d4bb108ac9f5c86dd84c1705647196e40b28 | |
parent | 0c2461fd0345b596e6ec5373bc4c132c417b9f5e [diff] | |
parent | 0acbfe6d04603ead5b68f91fb065f562b5ba5531 [diff] |
Snap for 6993940 from 0acbfe6d04603ead5b68f91fb065f562b5ba5531 to sc-d1-release Change-Id: Ib7a6bf71518af6ace22a14b2d832b087e335d7ba
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.