commit | 9fa19f03587fdfdb45d78f6a82088dbe876d48b1 | [log] [tgz] |
---|---|---|
author | Scott Lobdell <slobdell@google.com> | Fri Jan 14 21:43:30 2022 +0000 |
committer | Scott Lobdell <slobdell@google.com> | Fri Jan 14 21:56:39 2022 +0000 |
tree | 8ff81e914e07610263b5dd03d297e04d977d6e86 | |
parent | 8bf466dd070115b85962aec2917e48df052c4c05 [diff] | |
parent | a1ebf0357f63b3a86eb269e3935a4333312f21d6 [diff] |
Merge TP1A.211116.001 Change-Id: I1c99bca0c97059616963e65889a108638245ca7a
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.3"
and this to your source code:
use bitflags::bitflags;
The minimum supported Rust version is 1.46 due to use of associated constants and const functions.