[automerger skipped] Make libpin_utils available to DnsResolver am: 3377465e6d -s ours

am skip reason: Merged-In Ie73c2b3dec2fdef5cd9c05058585c715e52d8e27 with SHA-1 522299a379 is already in history

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

Change-Id: I0aa54ee51815d500fce07d9dadf0f883de6d36dc
tree: dfb9b48d479edcfd2a5ff0a4ed641daa6cbdbd64
  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.