commit | e5c555de32d65fcf761842671d3b48c254ab7314 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Jul 07 01:45:38 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 07 01:45:38 2020 +0000 |
tree | 090bb8be1808ec2ee21350911701fe3886507695 | |
parent | 1952fb232d715e198b78e377b807380e0a102f31 [diff] | |
parent | f5755112bf79c6cc117d25ec601a98b7f8de5460 [diff] |
Support building all variants. am: 23898638d2 am: 07ad55abe8 am: 5bb571a3f9 am: f5755112bf Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1356242 Change-Id: If6de1ba5b0c35589bc017ac32fa2bc1d68f1b4bc
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.