commit | 4ad0d47048c08a38614e2b25c5a450acd05ecf5f | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 18:06:54 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 18:06:54 2023 +0000 |
tree | ae4e51e69278b95d9ee59f9f1c0469981f913668 | |
parent | cf817a826c2c3ea9b4351d7ee61255cb19b29118 [diff] | |
parent | 28883aec686677fdd446ad41fee0140027f15d71 [diff] |
Make bitflags available to product and vendor am: 19a0ccbdab am: 834363264d am: cdebc8bf60 am: 28883aec68 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2476325 Change-Id: I9b9403a25c0852e42b0f75413aaabd1f9459e655 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.