160b26363Sopenharmony_ci# pin-utils
260b26363Sopenharmony_ci
360b26363Sopenharmony_ciUtilities for pinning
460b26363Sopenharmony_ci
560b26363Sopenharmony_ci[![Build Status](https://travis-ci.com/rust-lang-nursery/pin-utils.svg?branch=master)](https://travis-ci.com/rust-lang-nursery/pin-utils)
660b26363Sopenharmony_ci[![Crates.io](https://img.shields.io/crates/v/pin-utils.svg)](https://crates.io/crates/pin-utils)
760b26363Sopenharmony_ci
860b26363Sopenharmony_ci[Documentation](https://docs.rs/pin-utils)
960b26363Sopenharmony_ci
1060b26363Sopenharmony_ci## Usage
1160b26363Sopenharmony_ci
1260b26363Sopenharmony_ciFirst, add this to your `Cargo.toml`:
1360b26363Sopenharmony_ci
1460b26363Sopenharmony_ci```toml
1560b26363Sopenharmony_ci[dependencies]
1660b26363Sopenharmony_cipin-utils = "0.1.0-alpha.4"
1760b26363Sopenharmony_ci```
1860b26363Sopenharmony_ci
1960b26363Sopenharmony_ciNow, you can use it:
2060b26363Sopenharmony_ci
2160b26363Sopenharmony_ci```rust
2260b26363Sopenharmony_ciuse pin_utils::pin_mut; // And more...
2360b26363Sopenharmony_ci```
2460b26363Sopenharmony_ci
2560b26363Sopenharmony_ciThe current version of pin-utils requires Rust 1.33 or later.
2660b26363Sopenharmony_ci
2760b26363Sopenharmony_ci# License
2860b26363Sopenharmony_ci
2960b26363Sopenharmony_ciThis project is licensed under either of
3060b26363Sopenharmony_ci
3160b26363Sopenharmony_ci * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
3260b26363Sopenharmony_ci   http://www.apache.org/licenses/LICENSE-2.0)
3360b26363Sopenharmony_ci * MIT license ([LICENSE-MIT](LICENSE-MIT) or
3460b26363Sopenharmony_ci   http://opensource.org/licenses/MIT)
3560b26363Sopenharmony_ci
3660b26363Sopenharmony_ciat your option.
3760b26363Sopenharmony_ci
3860b26363Sopenharmony_ci### Contribution
3960b26363Sopenharmony_ci
4060b26363Sopenharmony_ciUnless you explicitly state otherwise, any contribution intentionally submitted
4160b26363Sopenharmony_cifor inclusion in pin-utils by you, as defined in the Apache-2.0 license, shall be
4260b26363Sopenharmony_cidual licensed as above, without any additional terms or conditions.
43