commit | fde1c6b37c946df0072afc97bc4370973de94deb | [log] [tgz] |
---|---|---|
author | Deyao Ren <deyaoren@google.com> | Wed Oct 06 18:33:04 2021 +0000 |
committer | Deyao Ren <deyaoren@google.com> | Wed Oct 06 18:33:04 2021 +0000 |
tree | 351beacd9c57e161f19def79c4d7a9e93cfa2384 | |
parent | 05c15df55cca41d07dc91346a14228696044609a [diff] | |
parent | 7078a0c3b022b52e2a86194df5da2e00441c1384 [diff] |
Merge TP1A.211006.001 Change-Id: I933e10eda695bc0a3c6a5e8c07d09d49dd9729b3
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.