commit | 57cd80c5004197a129f2c5e6c186fb40624571d0 | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Sun Apr 03 03:11:34 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Sun Apr 03 03:11:34 2022 +0000 |
tree | 2393cab2d6fc52727bf365f0b2e300b32f0585f9 | |
parent | a14c0f13e4aaedf1fa770a256a62121da43d50d1 [diff] | |
parent | cc292e951af0f93e508027458deaec206a97007e [diff] |
[automerger skipped] Merge Android 12 QPR3 ab/8391262 am: a97e94178b -s ours am: 1a237f64e8 -s ours am: cc292e951a -s ours am skip reason: Merged-In I29b3462f62a9942adab2703ebdf2893349154ef0 with SHA-1 4eab12190c is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/17544803 Change-Id: I6192f3dac2a8e53679a1f1683b65362221dd4c21 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.