Revert "Upgrade to 2.2.1" Revert submission 23170841-cherrypicker-L56400000960600321:N14500001367781407 Reason for revert: DroidMonitor: Potential culprit for Bug b/282265637 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Reverted changes: /q/submissionid:23170841-cherrypicker-L56400000960600321:N14500001367781407 Change-Id: I4887f14516f9ba0f7f0b0d87067628dcf667c8ac
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.