commit | fecb6948eb8a964491296e89ad6d84c612bbaeef | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 17:04:55 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 17:04:55 2023 +0000 |
tree | b563f638fc9dd6e873cabe9d14f6a924f6c63297 | |
parent | 468408db7b6fa6683368845f8dc3f2427eebf9dd [diff] | |
parent | 37c4978b3f24c2e0236ca42a8a73401470d0b151 [diff] |
Make pin-utils available to product and vendor am: 2c9ac8693a am: c8ba00eb24 am: 37c4978b3f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/2475779 Change-Id: I874fc3436ae6562297b6c32c3a5a276a2142aa2d Signed-off-by: Automerger Merge Worker <[email protected]>
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.