commit | fea35c536c7345133e1ac9de7e940f7944401310 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:19:26 2020 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:19:26 2020 -0700 |
tree | 36d64b0e1815581624e6958b512466b6276e7099 | |
parent | 7272f68ca01edfafbcbb2c70e096b1ffdc12e153 [diff] |
Support building all variants. Bug: 143217452 Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs Change-Id: I5211af1f6afb09a074d3507e29d6bbe756597998
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.