Make available to com.android.compos apex am: 074a1b2411 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1706887 Change-Id: I5d6a813e1f575a4f82df256ab55bba054a6575d4
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.