Bug: 152066488

Clone this repo:
  1. fdf4ae3 Add rust_test modules and TEST_MAPPING by Chih-Hung Hsieh · 3 weeks ago master
  2. 55182b4 Upgrade rust/crates/pin-utils to 0.1.0 by Haibo Huang · 5 weeks ago
  3. fdf245f Add OWNERS by Chih-Hung Hsieh · 6 weeks ago
  4. dffb6a0 Import 'pin-utils' rust crate version 0.1.0-alpha.4 by Jason Macnak · 10 weeks ago
  5. 22e25a7 Initial empty repository by Inna Palant · 8 weeks ago simpleperf-release platform-tools-30.0.0


Utilities for pinning

Build Status Crates.io



First, add this to your Cargo.toml:

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.