commit | 28883aec686677fdd446ad41fee0140027f15d71 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 17:04:50 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 17:04:50 2023 +0000 |
tree | ae4e51e69278b95d9ee59f9f1c0469981f913668 | |
parent | cf817a826c2c3ea9b4351d7ee61255cb19b29118 [diff] | |
parent | cdebc8bf6067f9c5a9b7ee1c0b80469c3cb6a6ea [diff] |
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.