commit | e23cddcdef6bbf1da3af66b7978166da7c84f44a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jun 22 10:30:31 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jun 22 10:30:31 2021 +0000 |
tree | dfb9b48d479edcfd2a5ff0a4ed641daa6cbdbd64 | |
parent | 59ec4d0e99748c16680f96c1d1fee3176eea6967 [diff] | |
parent | 24ba8f35dfcafa62c291cd434cee6325b39b7ead [diff] |
Merge "Make libpin_utils available to DnsResolver" am: 2555bf29bc am: 24ba8f35df Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1742080 Change-Id: If39b9214afcaeee7f5b2449463f30cc8ae57628d
Utilities for pinning
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.
This project is licensed under either of
at your option.
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.