commit | e0388b2993384e3619e5185d7e7b6eebafa31a9b | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Wed Dec 15 18:06:52 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Dec 15 18:06:52 2021 +0000 |
tree | c9a5059d8834122f44db774fadab691df231febb | |
parent | 5d2d22ce43a373504e7a21a04fa6bfc41474311c [diff] | |
parent | b47839592f314221dbc88a12c91dead901cb7546 [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: 8e2a6930e6 am: ef9e3de755 am: ff5e96edda am: b47839592f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1912505 Change-Id: I2dfb91293d608b6848065d5679701dff8d8fa69c
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.