commit | 14840ab2b2e5e12b0e60632189221aab75d19566 | [log] [tgz] |
---|---|---|
author | Chih-hung Hsieh <chh@google.com> | Mon Jul 20 18:24:51 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jul 20 18:24:51 2020 +0000 |
tree | bc226857bc4b3a955dd90085fcb5395ac22227c3 | |
parent | ca7e6fe2aeacc129399244595e6c3fd2fbde5a75 [diff] | |
parent | 0ebbb1f39f07a48f5845d80635d3a6e7364c32bb [diff] |
Merge "Add rust_test and update TEST_MAPPING" am: 8f8d97660e am: 6901b0655a am: 0ebbb1f39f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1366157 Change-Id: I7a78f2f6640524d04be0da7285991fe2f5eca45b
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.