Go to file
openharmony_ci f6121a0452
!3 【轻量级 PR】:修改lazycell版本号为1.2.1
Merge pull request !3 from 李可/N/A
2024-07-04 08:17:07 +00:00
src feat: Implement Clone for LazyCell and AtomicLazyCell 2018-12-03 18:58:37 -05:00
tests impr(LazyCell): return Err(value) on full cell 2016-08-17 03:08:28 -04:00
.clog.toml chore(CONTRIBUTING): add CONTRIBUTING.md 2016-03-28 07:10:30 -04:00
.gitignore feat: add initial commit 2016-03-15 21:29:11 -04:00
.travis.yml chore: bump minimum rustc version 2018-09-10 18:58:54 -04:00
BUILD.gn Add GN Build Files and Custom Modifications 2023-04-12 17:26:17 +08:00
Cargo.toml chore: cut 1.2.0 release 2018-12-03 19:18:37 -05:00
CHANGELOG.md chore: cut 1.2.0 release 2018-12-03 19:18:37 -05:00
CONTRIBUTING.md chore: add copyright & contribution info 2017-02-23 13:42:02 -05:00
CONTRIBUTORS.md feat: Implement Clone for LazyCell and AtomicLazyCell 2018-12-03 18:58:37 -05:00
LICENSE-APACHE feat: add initial implementation 2016-03-15 21:29:11 -04:00
LICENSE-MIT feat: Implement Clone for LazyCell and AtomicLazyCell 2018-12-03 18:58:37 -05:00
README.md chore: cut 1.1 release 2018-09-19 13:33:05 -04:00
README.OpenSource update README.OpenSource. 2024-07-04 06:43:10 +00:00
rustfmt.toml style: apply rustfmt to code 2017-02-17 12:22:17 -05:00

lazycell

Linux travis-badge
api-docs-badge crates-io license-badge coveralls-badge

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.