commit | 506efc2ebd93eb89c3fcf36b3b29463bdd52b58c | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <[email protected]> | Thu Aug 27 21:50:18 2020 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Aug 27 21:50:18 2020 +0000 |
tree | 0b77d4cc6e04e4ccbd5fcc0cde0db1ae85076861 | |
parent | bad47995267ffb02c19b35a2a5d88aede5a8b8cf [diff] | |
parent | e68ed0e1a61e37696bc3d9f1662ed9a67625eb5f [diff] |
Fix bitflags/METADATA am: e68ed0e1a6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1414088 Change-Id: Ic2508feff3ef1bbee0aeb436772ae0afff6c2354
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.