commit | 844e2316e01c9c6ab1e31125d0cc81ae2a773411 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Mon Nov 23 11:30:32 2020 -0800 |
committer | Xin Li <delphij@google.com> | Mon Nov 23 11:30:32 2020 -0800 |
tree | 6695d4bb108ac9f5c86dd84c1705647196e40b28 | |
parent | b2cdcefc086711b9bedaa97b0a8543682c3f22d7 [diff] | |
parent | b0279a2dd8e64e1ce81104d9517ca076987909ba [diff] |
Mark ab/6881855 as merged Bug: 172690556 Change-Id: I036aabc2d2cb187c3b09255a9a2e93d6cbe56763
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.