commit | c8810d6b1236631243f09c108e3c2de1ac813dd5 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Tue Nov 24 02:34:18 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Nov 24 02:34:18 2020 +0000 |
tree | 455d14e5a76cce95d3b44a4381ea8a30225952fd | |
parent | 55ed5376fe860f922820d0cbb1df661c4ff00faf [diff] | |
parent | ae36172711c36f81b9c74307121793c49ea13b9c [diff] |
Mark ab/6881855 as merged am: 409db94f57 am: ae36172711 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/13111227 Change-Id: I7e57929f06ab0c78cd62b5176c8fa5e5fdc5ab09
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.