commit | 2c9ac8693a33f2470f6181905f61e24e84ae4c04 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Mar 07 17:24:30 2023 -0800 |
committer | Matthew Maurer <mmaurer@google.com> | Tue Mar 07 17:24:30 2023 -0800 |
tree | b563f638fc9dd6e873cabe9d14f6a924f6c63297 | |
parent | 536c31b6e681fad8d875603a99aebd72bd1b67a2 [diff] |
Make pin-utils available to product and vendor Bug: 270690570 Test: mma in external/rust/crates Change-Id: Ifc345a45de6e47203a40c65e96d74dac50c4ce6b
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.