commit | 02d5a4087ac9fb919596307df04f83faf2a0bda8 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Aug 27 19:18:22 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 27 19:18:22 2020 +0000 |
tree | bc226857bc4b3a955dd90085fcb5395ac22227c3 | |
parent | a396157e59050f6463bea1dafe661331bcc6b15a [diff] | |
parent | 0a4c38cbfc350bb8202d56dd1e0bc5fa11e49c72 [diff] |
[automerger skipped] Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as merged am: dd24ff417a -s ours am: 4ad1b676eb -s ours am: 0a4c38cbfc -s ours am skip reason: Change-Id Ifa991844672c760fb8e423dcc2b6a13f29947eda with SHA-1 be5803ecf6 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/12469232 Change-Id: Idd43659d98df734e2b760e5660121b79baa60d86
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.