commit | 6d23377ddd16ff1ca21bce763d735f8ec045508a | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Oct 09 03:54:10 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 09 03:54:10 2020 +0000 |
tree | 67d262aeaf4c03b8861e4c5acaf96801e35eac88 | |
parent | 87e5ded881ea5ce5e786a293719fb289748de3f1 [diff] | |
parent | f5e9b4b12138c979065a55c982560651c608fb58 [diff] |
[automerger skipped] Skip ab/6749736 in stage. am: 04ad536c50 -s ours am: e7a0c54487 -s ours am: f5e9b4b121 -s ours am skip reason: Change-Id I7a78f2f6640524d04be0da7285991fe2f5eca45b with SHA-1 14840ab2b2 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/12797341 Change-Id: I4a27e0d01aa9f905427ef4bc8b6065c88fa287b9
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.