• Home
Name Date Size #Lines LOC

..--

src/12-May-2024-14551

tests/12-May-2024-5039

.gitignoreD12-May-202430 43

.rustfmt.tomlD12-May-202434 32

.travis.ymlD12-May-2024778 4231

BUILD.gnD12-May-2024985 2824

Cargo.tomlD12-May-2024314 1312

LICENSE-APACHED12-May-202410.6 KiB202169

LICENSE-MITD12-May-20241 KiB2622

README.OpenSourceD12-May-2024351 1111

README.mdD12-May-20241.1 KiB4327

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