Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | 12-May-2024 | - | 145 | 51 | ||
tests/ | 12-May-2024 | - | 50 | 39 | ||
.gitignore | D | 12-May-2024 | 30 | 4 | 3 | |
.rustfmt.toml | D | 12-May-2024 | 34 | 3 | 2 | |
.travis.yml | D | 12-May-2024 | 778 | 42 | 31 | |
BUILD.gn | D | 12-May-2024 | 985 | 28 | 24 | |
Cargo.toml | D | 12-May-2024 | 314 | 13 | 12 | |
LICENSE-APACHE | D | 12-May-2024 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | D | 12-May-2024 | 1 KiB | 26 | 22 | |
README.OpenSource | D | 12-May-2024 | 351 | 11 | 11 | |
README.md | D | 12-May-2024 | 1.1 KiB | 43 | 27 |
README.OpenSource
1[ 2 { 3 "Name": "pin-utils", 4 "License": "Apache License V2.0, MIT", 5 "License File": "LICENSE-APACHE, LICENSE-MIT", 6 "Version Number": "0.1.0", 7 "Owner": "fangting12@huawei.com", 8 "Upstream URL": "https://github.com/rust-lang/pin-utils", 9 "Description": "A Rust library that provides support for working with pinned values." 10 } 11]
README.md
1# pin-utils 2 3Utilities for pinning 4 5[![Build Status](https://travis-ci.com/rust-lang-nursery/pin-utils.svg?branch=master)](https://travis-ci.com/rust-lang-nursery/pin-utils) 6[![Crates.io](https://img.shields.io/crates/v/pin-utils.svg)](https://crates.io/crates/pin-utils) 7 8[Documentation](https://docs.rs/pin-utils) 9 10## Usage 11 12First, add this to your `Cargo.toml`: 13 14```toml 15[dependencies] 16pin-utils = "0.1.0-alpha.4" 17``` 18 19Now, you can use it: 20 21```rust 22use pin_utils::pin_mut; // And more... 23``` 24 25The current version of pin-utils requires Rust 1.33 or later. 26 27# License 28 29This project is licensed under either of 30 31 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or 32 http://www.apache.org/licenses/LICENSE-2.0) 33 * MIT license ([LICENSE-MIT](LICENSE-MIT) or 34 http://opensource.org/licenses/MIT) 35 36at your option. 37 38### Contribution 39 40Unless you explicitly state otherwise, any contribution intentionally submitted 41for inclusion in pin-utils by you, as defined in the Apache-2.0 license, shall be 42dual licensed as above, without any additional terms or conditions. 43