commit | c4afffba8a06e4921facafb823ce2695461e3047 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Oct 09 06:09:57 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 09 06:09:57 2020 +0000 |
tree | 0b77d4cc6e04e4ccbd5fcc0cde0db1ae85076861 | |
parent | a7d0ceed4b460d8d8b368ae79143833e54f67beb [diff] | |
parent | 6a5e65f72ef626627364fadca6fb80df6f19c15a [diff] |
[automerger skipped] Skip ab/6749736 in stage. am: 55c82dbcb6 -s ours am: 706e27010e -s ours am: 6a5e65f72e -s ours am skip reason: Change-Id Ic11a2321ae4bfc6f9e943fae8a820375181987b7 with SHA-1 7780ece6df is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/12797298 Change-Id: I1218065060a79eda2a46d64522142863159d7c35
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.