commit | 3377465e6d0e39b4d45f1f043d3ab84c038d3d94 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Tue Jun 22 10:30:31 2021 +0000 |
committer | Luke Huang <[email protected]> | Wed Jun 23 08:59:16 2021 +0000 |
tree | dfb9b48d479edcfd2a5ff0a4ed641daa6cbdbd64 | |
parent | 68cff43d4dc4ab8cad3f9728ffbc0ea6f81cff11 [diff] |
Make libpin_utils available to DnsResolver Test: TH Bug 155855709 Original-Change: https://android-review.googlesource.com/1742080 Merged-In: Ie73c2b3dec2fdef5cd9c05058585c715e52d8e27 Change-Id: Ie73c2b3dec2fdef5cd9c05058585c715e52d8e27
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.