Generate apex_available from c2a instead of a patch am: 90e6ca2b7e am: 060f57b2b4 am: cd3e0aec20 am: 59ec4d0e99

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

Change-Id: I59732eeb87b11fa438f015a16ac551d1bf1f7b2b
tree: 588cd6bcab99f86ee21c4a232729119123f985a6
  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. cargo2android.json
  11. LICENSE-APACHE
  12. LICENSE-MIT
  13. METADATA
  14. MODULE_LICENSE_APACHE2
  15. OWNERS
  16. README.md
  17. 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.