Add rust_test and update TEST_MAPPING am: 7062658fd0 am: deb3b8ef51 am: a3532cd1cd

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

Change-Id: I29158bd8bf85b41f3edcee6b4d27a80d83dd6432
tree: cc62c80ebb8af49fa9d4986dabed0722008dd952
  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.