10 releases (1 stable)

1.0.0 Jun 6, 2018
0.6.0 Nov 25, 2017
0.5.1 Mar 24, 2017
0.5.0 Dec 8, 2016
0.2.0 Mar 28, 2016

#1 in Rust patterns

Download history 33237/week @ 2018-08-21 39066/week @ 2018-08-28 37182/week @ 2018-09-04 44743/week @ 2018-09-11 47115/week @ 2018-09-18 47529/week @ 2018-09-25 47428/week @ 2018-10-02 49113/week @ 2018-10-09 47563/week @ 2018-10-16 43964/week @ 2018-10-23 49996/week @ 2018-10-30 48533/week @ 2018-11-06 41694/week @ 2018-11-13

118,889 downloads per month
Used in 1,651 crates (17 directly)

MIT/Apache

22KB
353 lines

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.

Dependencies

  • nightly-testing? clippy 0.0