commit | ca7e6fe2aeacc129399244595e6c3fd2fbde5a75 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Jul 20 18:23:17 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jul 20 18:23:17 2020 +0000 |
tree | cc62c80ebb8af49fa9d4986dabed0722008dd952 | |
parent | ce18b708822ae2daa3295300da8424be38ce0df4 [diff] | |
parent | a3532cd1cde8c5462dfc6162828d0611a23315dd [diff] |
Add rust_test and update TEST_MAPPING am: 7062658fd0 am: deb3b8ef51 am: a3532cd1cd Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1365106 Change-Id: I29158bd8bf85b41f3edcee6b4d27a80d83dd6432
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.