commit | ad6b96bfe639eccb053153ba3a73fee6ce93f98f | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Aug 27 22:39:37 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 27 22:39:37 2020 +0000 |
tree | 0b77d4cc6e04e4ccbd5fcc0cde0db1ae85076861 | |
parent | 84ca1da5802de61aef1439b96bd6d67f14d0c111 [diff] | |
parent | 515d292c6785281209e7f6caf7b2a276e73dbbc6 [diff] |
Fix bitflags/METADATA am: e68ed0e1a6 am: 506efc2ebd am: 515d292c67 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1414088 Change-Id: Ic5a2b8f1f02e4de52a2c8cc23a1537d3216a9d16
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.0"
and this to your crate root:
#[macro_use] extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.