commit | 782919d2a3f0569e4d1e651f309381aae99dfdb4 | [log] [tgz] |
---|---|---|
author | Scott Lobdell <slobdell@google.com> | Tue Jan 05 14:25:57 2021 -0800 |
committer | Scott Lobdell <slobdell@google.com> | Tue Jan 05 14:25:57 2021 -0800 |
tree | c1cbb4485741835a4d33e95fca3be84148610e07 | |
parent | 36d9e0061854fc1ad1ea3c184e731617a05ae6e6 [diff] | |
parent | 2f54651b17ede85892eeedec1f7ccc5cb9fb1224 [diff] |
Merge SP1A.210105.001 Change-Id: I44b5b2f1cde48c881c75ace2c7fa70372bb76bce
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.