commit | 8651fc308425473b563a15713bc377f505428fd3 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 00:24:19 2021 -0800 |
committer | Xin Li <delphij@google.com> | Sat Feb 20 00:24:19 2021 -0800 |
tree | 8427b39add9086a50d82eeb647256704ba2c3fd1 | |
parent | 450bcb57ea8df5e49894303e6880c3a7941a4ef2 [diff] | |
parent | 69d6cd3b991093780bb9b6c669bba263d46d65bb [diff] |
Mark ab/7061308 as merged in stage. Bug: 180401296 Merged-In: I752c3e0b213498d7736af95bf7d09e1c23642da0 Change-Id: Id19d557eee6ec4f670a714a145e8cc13865a0024
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.