commit | 55ed5376fe860f922820d0cbb1df661c4ff00faf | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Thu Nov 05 17:42:36 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Nov 05 17:42:36 2020 +0000 |
tree | 455d14e5a76cce95d3b44a4381ea8a30225952fd | |
parent | a087b39d427d73a11390405c69c3877ce3a1a52e [diff] | |
parent | aa3bcfa511ecef0393492a8f96fa1761b15ae558 [diff] |
TEST_MAPPING: test dependers of this crate am: 26463e0500 am: 848900532f am: 0ccc259a81 am: aa3bcfa511 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1488800 Change-Id: Iefe9f312f348d493577976fc597f9487fe3b528a
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.0"
and this to your crate root:
#[macro_use] extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.