commit | ceaa0f06bf146161dda126ef234ccfa8c5bce323 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Wed May 18 09:12:53 2022 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Wed May 18 09:12:53 2022 -0700 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | c72d1dba5ffa3a30ce533bcb64222d5e012b6dd5 [diff] | |
parent | b933895fe27526e337e6dda735ed2c867fa389f4 [diff] |
Merge b933895fe27526e337e6dda735ed2c867fa389f4 on remote branch Change-Id: I6fa049e721543ff7b4338e5a62fc76f4dc9f9f51
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.