commit | e71c725162e011733e06d250b63bcc40161a1680 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Oct 08 17:21:31 2020 -0700 |
committer | Xin Li <delphij@google.com> | Thu Oct 08 17:21:31 2020 -0700 |
tree | a0de65691088c3540a4c003a367560922abb794f | |
parent | 4cac77f8fd3266784bbfc3ca9c76fe63f6ef63de [diff] | |
parent | d3dfc909b9cc1c3e5964075a88f69e27a25b16bc [diff] |
Skip ab/6749736 in stage. Merged-In: Ic0e117c6a331802ac4549639dd0a5afd3627d60a Change-Id: I1a10f6297f1875e093a3693c79fb2b1641ea59e2
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.