commit | e68ed0e1a61e37696bc3d9f1662ed9a67625eb5f | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <[email protected]> | Tue Aug 25 20:49:12 2020 -0700 |
committer | Chih-Hung Hsieh <[email protected]> | Tue Aug 25 20:49:12 2020 -0700 |
tree | 0b77d4cc6e04e4ccbd5fcc0cde0db1ae85076861 | |
parent | 44365bad8831017177b66005465b521c37db3fa2 [diff] |
Fix bitflags/METADATA Bug: 166324735 Test: make Change-Id: I7722a5d0d557fcb80fbd50ab1119dcaf646658fa
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.