commit | e7a0c54487018ce7606cf9b481cd96dfaf9cb85d | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Oct 09 02:27:10 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 09 02:27:10 2020 +0000 |
tree | 67d262aeaf4c03b8861e4c5acaf96801e35eac88 | |
parent | 4791840fb53ea38cc3b1d6b8a4dc6d0e17e24de7 [diff] | |
parent | 04ad536c50165cefd26ec9216fff9f0b9b6167e9 [diff] |
[automerger skipped] Skip ab/6749736 in stage. am: 04ad536c50 -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: Iead8e466dfe706add4c2fd52319d619d4a6f6713
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.