Debian Codegraph @

.cargo/vendor/lazycell/README.md

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