commit | b6847a666fe018c3c159bad042b408b41de86de8 | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Sat Feb 20 00:24:17 2021 -0800 |
committer | Xin Li <[email protected]> | Sat Feb 20 00:24:17 2021 -0800 |
tree | b8100f2cefdf43e4d3f8650d7325c1ca8e956c01 | |
parent | f401304cb2e3642d77717d3d0bb6de9ede3c62ac [diff] | |
parent | 6d95c14fc530f301381f6e6fe854fcb0a7cdac05 [diff] |
Mark ab/7061308 as merged in stage. Bug: 180401296 Merged-In: Id49bd915bf088e2eaa1dc889800615fa3722026b Change-Id: I7215a4db2ba6e0b4bf6400c3aed68a7b11c15279
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.