Support building all variants. am: fea35c536c am: 0f6f1090b1 am: a106af9ab6 am: 7a907b377d am: 20810e2a38 am: a0715d2567

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lazycell/+/1355924

Change-Id: If83f27c9d9d47a10b4e979f28826a4ea74bd83d2
tree: 36d64b0e1815581624e6958b512466b6276e7099
  1. src/
  2. .cargo_vcs_info.json
  3. Android.bp
  4. Cargo.toml
  5. Cargo.toml.orig
  6. CHANGELOG.md
  7. LICENSE-APACHE
  8. LICENSE-MIT
  9. METADATA
  10. MODULE_LICENSE_APACHE2
  11. OWNERS
  12. README.md
README.md

lazycell

Rust library providing a lazily filled Cell.

Table of Contents

Usage

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.

Contributing

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.

Credits

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.

License

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.