14 releases (5 stable)

Uses old Rust 2015

1.3.0 Aug 12, 2020
1.2.1 Dec 4, 2018
1.2.0 Sep 19, 2018
1.0.0 Jun 6, 2018
0.2.0 Mar 28, 2016

#365 in Rust patterns

Download history 529242/week @ 2023-11-21 661030/week @ 2023-11-28 666730/week @ 2023-12-05 619749/week @ 2023-12-12 519942/week @ 2023-12-19 309585/week @ 2023-12-26 541384/week @ 2024-01-02 598345/week @ 2024-01-09 642445/week @ 2024-01-16 664880/week @ 2024-01-23 665002/week @ 2024-01-30 681136/week @ 2024-02-06 645425/week @ 2024-02-13 776217/week @ 2024-02-20 723729/week @ 2024-02-27 564558/week @ 2024-03-05

2,827,162 downloads per month
Used in 5,527 crates (30 directly)

MIT/Apache

29KB
490 lines

lazycell

Linux travis-badge
cargo-downloads-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.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.

Dependencies

~210KB