commit | b6c5bb634dfceba899533b6c7b11f65a7e9c45e6 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Jul 07 01:45:35 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 07 01:45:35 2020 +0000 |
tree | 97928db879f162437ed7f3bc61d6ee88bacf5683 | |
parent | 1a33e65ef192442734bdb930961c275e11919721 [diff] | |
parent | a2a4976d312d68b7af480de57a2eac24a86500b8 [diff] |
Support building all variants. am: 541fa02953 am: 6f6e8c65f8 am: f8b889099c am: a2a4976d31 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1356123 Change-Id: If611cb1c68bd4b838ac419486445d6396e479535
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.