commit | c8ba00eb24a92081deb6ae0a43aaea058726a996 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 15:13:13 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 15:13:13 2023 +0000 |
tree | b563f638fc9dd6e873cabe9d14f6a924f6c63297 | |
parent | ab7500140f459276fe27be373f9d774b95ffd65f [diff] | |
parent | 2c9ac8693a33f2470f6181905f61e24e84ae4c04 [diff] |
Make pin-utils available to product and vendor am: 2c9ac8693a Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/2475779 Change-Id: Icb977b2b6efcdba00f1098646dc4a210c1ba9b5e 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.