commit | 67e06768536f6a4b1f762975aecf821a6fd98a63 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Thu Apr 14 17:40:36 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Apr 14 17:40:36 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | 57cd80c5004197a129f2c5e6c186fb40624571d0 [diff] | |
parent | 46421255c34fab1eb7b384216cadfb517df59d91 [diff] |
Merge "Update TEST_MAPPING" am: 603997526e am: 91ed01964f am: 8ec47c29e4 am: 46421255c3 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2004805 Change-Id: Ia94b2405a9eccf74d69ae7b65e04b9ba1b61a6fe 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.