Snap for 8982257 from 2f33232f468f2708f9946f5580bd3a559bc26245 to mainline-conscrypt-release Change-Id: I3d9642b3d66447c59719cb13fbd6251c12856685
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.