Mark ab/6881855 as merged am: 6018204806

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/13112899

Change-Id: I9d0200b919ee9fb5545e7744a2ed8b273d8d5414
tree: 47658d012cd7934bc34516a029f2941594e14b82
  1. src/
  2. tests/
  3. .cargo_vcs_info.json
  4. .gitignore
  5. .rustfmt.toml
  6. .travis.yml
  7. Android.bp
  8. Cargo.toml
  9. Cargo.toml.orig
  10. LICENSE-APACHE
  11. LICENSE-MIT
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. OWNERS
  15. README.md
  16. TEST_MAPPING
README.md

pin-utils

Utilities for pinning

Build Status Crates.io

Documentation

Usage

First, add this to your Cargo.toml:

[dependencies]
pin-utils = "0.1.0-alpha.4"

Now, you can use it:

use pin_utils::pin_mut; // And more...

The current version of pin-utils requires Rust 1.33 or later.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in pin-utils by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.