Make bitflags available to product and vendor am: 19a0ccbdab am: 834363264d am: cdebc8bf60 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2476325 Change-Id: I9c4a94212a53ee10ec80541a6c7b47278ae6ebd0 Signed-off-by: Automerger Merge Worker <[email protected]>
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml:
[dependencies] bitflags = "1.3"
and this to your source code:
use bitflags::bitflags;
The minimum supported Rust version is 1.46 due to use of associated constants and const functions.