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

#146 in Rust patterns

Download history 776119/week @ 2024-07-20 775542/week @ 2024-07-27 785995/week @ 2024-08-03 824294/week @ 2024-08-10 819292/week @ 2024-08-17 845627/week @ 2024-08-24 800091/week @ 2024-08-31 859640/week @ 2024-09-07 754645/week @ 2024-09-14 1023502/week @ 2024-09-21 1015475/week @ 2024-09-28 1495690/week @ 2024-10-05 1331789/week @ 2024-10-12 1373995/week @ 2024-10-19 891101/week @ 2024-10-26 715179/week @ 2024-11-02

4,469,946 downloads per month
Used in 5,479 crates (31 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

~200KB