commit | 797b521279b904ef80cfb85b60c51371be885d81 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Oct 09 04:46:18 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 09 04:46:18 2020 +0000 |
tree | 67d262aeaf4c03b8861e4c5acaf96801e35eac88 | |
parent | bfd45b38e64c47839469c7e2220b8c8295fa485e [diff] | |
parent | 6d23377ddd16ff1ca21bce763d735f8ec045508a [diff] |
[automerger skipped] Skip ab/6749736 in stage. am: 04ad536c50 -s ours am: e7a0c54487 -s ours am: f5e9b4b121 -s ours am: 6d23377ddd -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: Ifdd78791806a118bdd06474e8f03e6c3e67a99de
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.