commit | b51ade7241a319b7948cf38e6082cfa03c9e102b | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Tue Oct 19 11:07:24 2021 +0200 |
committer | Jeff Vander Stoep <jeffv@google.com> | Tue Oct 19 11:07:24 2021 +0200 |
tree | 91688f3639e1cc0dd70d3cfb83206e7c57bc3690 | |
parent | d0e7eb27afe1037660e2618e7447418a7cd99bbd [diff] |
Enable tests Test: atest x86_64 lazycell_host_test_src_lib: Passed: 28, Failed: 0, Ignored: 0, Assumption Failed: 0, x86 lazycell_device_test_src_lib: Passed: 28, Failed: 0, Ignored: 0, Assumption Failed: 0, Change-Id: Ib2c08335e8e417781db6da0aa045794493befe18
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.