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