commit | fe6a8c6c82e23cef63bd3dd368133f049cd3399e | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Mon Jun 15 18:02:09 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jun 15 18:02:09 2020 +0000 |
tree | 06b398b6bb2748a5cccc74801fec261f14dd85ab | |
parent | 3f5afeb6af2295225230c62ae574a4de88fa41f6 [diff] | |
parent | 724c38bcc64c5016a002b761cb61132a244a19b3 [diff] |
Allow building for device. am: d296d1a7da am: 392862428c am: b8db4a38e6 am: 7e0e08f9c5 am: 724c38bcc6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1333195 Change-Id: Iaf5952d29f205ce162ffb263e3cedf8a4bf97951
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.