commit | 82d3a50dffa5eabae3bf0c5b49d5bb37abce39a1 | [log] [tgz] |
---|---|---|
author | Scott Lobdell <slobdell@google.com> | Tue Feb 23 11:55:07 2021 -0800 |
committer | Scott Lobdell <slobdell@google.com> | Tue Feb 23 11:55:07 2021 -0800 |
tree | b8100f2cefdf43e4d3f8650d7325c1ca8e956c01 | |
parent | 782919d2a3f0569e4d1e651f309381aae99dfdb4 [diff] | |
parent | 117d64c707d849c58311d11915d75092cb764b40 [diff] |
Merge SP1A.210222.001 Change-Id: I0f36809de1edd72124001c8adbb3a9f39be0cfdc
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.