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