commit | 6f6e8c65f8f7ff3bddbc3d1be06fd89dae8cf1df | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Tue Jul 07 00:35:15 2020 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Jul 07 00:35:15 2020 +0000 |
tree | 97928db879f162437ed7f3bc61d6ee88bacf5683 | |
parent | ac5aa0607f68638a5e63c94496bc72b3f4a0c080 [diff] | |
parent | 541fa0295370f66cc703e93a602c8fd54b6f6396 [diff] |
Support building all variants. am: 541fa02953 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1356123 Change-Id: I82b151d2683e2a1bb60336035b1788aa663a83aa
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.