commit | 409db94f576fb6751c29459f955d700ad2ce046c | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Mon Nov 23 11:30:29 2020 -0800 |
committer | Xin Li <delphij@google.com> | Mon Nov 23 11:30:29 2020 -0800 |
tree | 455d14e5a76cce95d3b44a4381ea8a30225952fd | |
parent | 848900532ff30014ccecec7d8c5389f553efbe00 [diff] | |
parent | 3b38934eb25d6a2fe1a6508a92ebdc38117188fb [diff] |
Mark ab/6881855 as merged Bug: 172690556 Change-Id: Id9a818fa1e9d85eaf52eb5524e0c513d373dc487
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.