commit | 6f3fa15012d300a886add4bacbd8ad2267abee28 | [log] [tgz] |
---|---|---|
author | Haibo Huang <[email protected]> | Tue Aug 11 23:25:13 2020 -0700 |
committer | Chih-Hung Hsieh <[email protected]> | Mon Aug 17 16:10:23 2020 -0700 |
tree | 3c6efb31bc3e28bdbfe31f8a2bebecc953aed3a5 | |
parent | c2da9b8c19fae2731e052f8c4bbda9ad12452457 [diff] |
Upgrade rust/crates/lazycell to 1.3.0 * Keep Android local change in src/lib.rs. // ANDROID: Unconditionally use std to allow building as a dylib. extern crate std; Change-Id: Iffb11ce26acde2ae512502957ac87b3e430fe673 Test: make
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.