commit | cdebc8bf6067f9c5a9b7ee1c0b80469c3cb6a6ea | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 16:09:04 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 16:09:04 2023 +0000 |
tree | ae4e51e69278b95d9ee59f9f1c0469981f913668 | |
parent | 63b70b353019ab3a93761f7db406e30e9f40ea27 [diff] | |
parent | 834363264dbcc07e346cdb999432ec6763c1ac09 [diff] |
Make bitflags available to product and vendor am: 19a0ccbdab am: 834363264d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2476325 Change-Id: Ib1236b2f203f362ff5b68ea1a594d5566cb70a3c 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.