commit | 36d9e0061854fc1ad1ea3c184e731617a05ae6e6 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Mon Nov 30 11:41:50 2020 -0800 |
committer | Daniel Norman <danielnorman@google.com> | Mon Nov 30 11:41:50 2020 -0800 |
tree | 455d14e5a76cce95d3b44a4381ea8a30225952fd | |
parent | 963f14aac410d881a9fbd202b0c8a6f2e29de9ed [diff] | |
parent | 293c356e413973a13729e58a7ce5d6343baafed7 [diff] |
Merge SP1A.201130.001 Change-Id: I3bb668a1eb81b8c35086f4b54626ba69d55328ef
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.