Add rust_test modules and TEST_MAPPING

Bug: 156009151
Test: atest --host --rebuild-module-info -c --include-subdirs external/rust/crates
Change-Id: I4118b281181a0a043f2dbd3d17a479a3809d9bb2
2 files changed
tree: 3c7b3c88802bb5503bc46054089631e01d2e915a
  1. .cargo_vcs_info.json
  2. .gitignore
  3. .rustfmt.toml
  4. .travis.yml
  5. Android.bp
  6. Cargo.toml
  7. Cargo.toml.orig
  8. LICENSE-APACHE
  9. LICENSE-MIT
  10. METADATA
  11. MODULE_LICENSE_APACHE2
  12. OWNERS
  13. README.md
  14. TEST_MAPPING
  15. src/
  16. tests/
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.