commit | 52ebe65a0541e3c456bd51ab2a2d785ee854748a | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Tue Nov 24 00:28:06 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Nov 24 00:28:06 2020 +0000 |
tree | 47658d012cd7934bc34516a029f2941594e14b82 | |
parent | ea64799d05187060b7d23159a7280aed07d9241a [diff] | |
parent | 6018204806fc41faeccb98453ffee522f09f0fc9 [diff] |
Mark ab/6881855 as merged am: 6018204806 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/13112899 Change-Id: I9d0200b919ee9fb5545e7744a2ed8b273d8d5414
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.