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