• Home
Name Date Size #Lines LOC

..--

src/12-May-2024-650405

tests/12-May-2024-2618

.clog.tomlD12-May-2024226 119

.gitignoreD12-May-2024267 1612

.travis.ymlD12-May-20242.2 KiB5843

BUILD.gnD12-May-20241,022 2824

CHANGELOG.mdD12-May-20245.6 KiB17980

CONTRIBUTING.mdD12-May-20242.3 KiB5145

CONTRIBUTORS.mdD12-May-2024702 1815

Cargo.tomlD12-May-2024678 2724

LICENSE-APACHED12-May-202410.6 KiB202169

LICENSE-MITD12-May-20241.1 KiB2723

README.OpenSourceD12-May-2024353 1111

README.mdD12-May-20242.6 KiB7352

rustfmt.tomlD12-May-2024484 1918

README.OpenSource

1[
2  {
3    "Name": "lazycell",
4    "License": "Apache License V2.0, MIT",
5    "License File": "LICENSE-APACHE, LICENSE-MIT",
6    "Version Number": "1.4.0",
7    "Owner": "fangting12@huawei.com",
8    "Upstream URL": "https://github.com/indiv0/lazycell",
9    "Description": "A Rust library that provides support for lazy-initialized static variables."
10  }
11]

README.md

1# lazycell
2
3<table>
4    <tr>
5        <td><strong>Linux</strong></td>
6        <td><a href="https://travis-ci.org/indiv0/lazycell" title="Travis Build Status"><img src="https://travis-ci.org/indiv0/lazycell.svg?branch=master" alt="travis-badge"></img></a></td>
7    </tr>
8    <tr>
9        <td colspan="2">
10            <a href="https://indiv0.github.io/lazycell/lazycell" title="API Docs"><img src="https://img.shields.io/badge/API-docs-blue.svg" alt="api-docs-badge"></img></a>
11            <a href="https://crates.io/crates/lazycell" title="Crates.io"><img src="https://img.shields.io/crates/v/lazycell.svg" alt="crates-io"></img></a>
12            <a href="#license" title="License: MIT/Apache-2.0"><img src="https://img.shields.io/crates/l/lazycell.svg" alt="license-badge"></img></a>
13            <a href="https://coveralls.io/github/indiv0/lazycell?branch=master" title="Coverage Status"><img src="https://coveralls.io/repos/github/indiv0/lazycell/badge.svg?branch=master" alt="coveralls-badge"></img></a>
14        </td>
15    </tr>
16</table>
17
18Rust library providing a lazily filled Cell.
19
20# Table of Contents
21
22* [Usage](#usage)
23* [Contributing](#contributing)
24* [Credits](#credits)
25* [License](#license)
26
27## Usage
28
29Add the following to your `Cargo.toml`:
30
31```toml
32[dependencies]
33lazycell = "1.2"
34```
35
36And in your `lib.rs` or `main.rs`:
37
38```rust
39extern crate lazycell;
40```
41
42See the [API docs][api-docs] for information on using the crate in your library.
43
44## Contributing
45
46Contributions are always welcome!
47If you have an idea for something to add (code, documentation, tests, examples,
48etc.) feel free to give it a shot.
49
50Please read [CONTRIBUTING.md][contributing] before you start contributing.
51
52## Credits
53
54The LazyCell library is based originally on work by The Rust Project Developers
55for the project [crates.io][crates-io-repo].
56
57The list of contributors to this project can be found at
58[CONTRIBUTORS.md][contributors].
59
60## License
61
62LazyCell is distributed under the terms of both the MIT license and the Apache
63License (Version 2.0).
64
65See [LICENSE-APACHE][license-apache], and [LICENSE-MIT][license-mit] for details.
66
67[api-docs]: https://indiv0.github.io/lazycell/lazycell
68[contributing]: https://github.com/indiv0/lazycell/blob/master/CONTRIBUTING.md "Contribution Guide"
69[contributors]: https://github.com/indiv0/lazycell/blob/master/CONTRIBUTORS.md "List of Contributors"
70[crates-io-repo]: https://github.com/rust-lang/crates.io "rust-lang/crates.io: Source code for crates.io"
71[license-apache]: https://github.com/indiv0/lazycell/blob/master/LICENSE-APACHE "Apache-2.0 License"
72[license-mit]: https://github.com/indiv0/lazycell/blob/master/LICENSE-MIT "MIT License"
73