commit | 1b97576bef9ff8cc7486a5434dbb76cb35ec249a | [log] [tgz] |
---|---|---|
author | Scott Lobdell <slobdell@google.com> | Thu Oct 15 11:45:37 2020 -0700 |
committer | Scott Lobdell <slobdell@google.com> | Thu Oct 15 11:45:37 2020 -0700 |
tree | 16e8ff657bf8c34859848a69906d50a3a0de95be | |
parent | dddb33cda4eb2e57aaa0cedcc5de7a7b4c449ac4 [diff] | |
parent | 5c89c637cd7f898aade4d2b6a85e76117ba945a9 [diff] |
Merge SP1A.201015.001 Change-Id: Id460b7c7c0d966637f9edb807f5e03068b683a52
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.