Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | 12-May-2024 | - | 650 | 405 | ||
tests/ | 12-May-2024 | - | 26 | 18 | ||
.clog.toml | D | 12-May-2024 | 226 | 11 | 9 | |
.gitignore | D | 12-May-2024 | 267 | 16 | 12 | |
.travis.yml | D | 12-May-2024 | 2.2 KiB | 58 | 43 | |
BUILD.gn | D | 12-May-2024 | 1,022 | 28 | 24 | |
CHANGELOG.md | D | 12-May-2024 | 5.6 KiB | 179 | 80 | |
CONTRIBUTING.md | D | 12-May-2024 | 2.3 KiB | 51 | 45 | |
CONTRIBUTORS.md | D | 12-May-2024 | 702 | 18 | 15 | |
Cargo.toml | D | 12-May-2024 | 678 | 27 | 24 | |
LICENSE-APACHE | D | 12-May-2024 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | D | 12-May-2024 | 1.1 KiB | 27 | 23 | |
README.OpenSource | D | 12-May-2024 | 353 | 11 | 11 | |
README.md | D | 12-May-2024 | 2.6 KiB | 73 | 52 | |
rustfmt.toml | D | 12-May-2024 | 484 | 19 | 18 |
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