Android 14.0.0 release 43
Make lazycell available to product and vendor am: bf83a0a500 am: bb029d2f15 am: cf08b65d08 am: b3b9ce3ded

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

Change-Id: I45dab5ad868d23d0795eded28e11f4df46d591ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 8b700f6b52a4aa6c4f1f7cccd12c2baf9b7adebf
  1. src/
  2. .cargo_vcs_info.json
  3. Android.bp
  4. Cargo.toml
  5. Cargo.toml.orig
  6. cargo2android.json
  7. CHANGELOG.md
  8. LICENSE-APACHE
  9. LICENSE-MIT
  10. METADATA
  11. MODULE_LICENSE_APACHE2
  12. OWNERS
  13. README.md
  14. TEST_MAPPING
README.md

lazycell

Rust library providing a lazily filled Cell.

Table of Contents

Usage

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.

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.