commit | 0ccc259a81c6d25db40ee4b9a28f21ed7b906b44 | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Thu Nov 05 17:16:58 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Nov 05 17:16:58 2020 +0000 |
tree | 455d14e5a76cce95d3b44a4381ea8a30225952fd | |
parent | 12cf1d449464f62a0a0f95972df2985c5a2d05d6 [diff] | |
parent | 848900532ff30014ccecec7d8c5389f553efbe00 [diff] |
TEST_MAPPING: test dependers of this crate am: 26463e0500 am: 848900532f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1488800 Change-Id: If28ec51b489b72c6d374e64eb32354d37cda0228
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.