commit | 2595a04bcbf010993f55c0797bb9291b99560112 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Mon Aug 31 12:05:28 2020 -0700 |
committer | Daniel Norman <danielnorman@google.com> | Mon Aug 31 12:05:28 2020 -0700 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | 9df7ebd6aa68e056eee54409563141395f1da421 [diff] | |
parent | 3e41ff7f6bacbc440cc9430840256fb45c1d23ed [diff] |
Merge SP1A.200727.001 Change-Id: I1cdb9a97116122451028263610db620d81fc3aad
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.