commit | a087b39d427d73a11390405c69c3877ce3a1a52e | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 12 11:10:29 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Oct 12 11:10:29 2020 +0000 |
tree | 16e8ff657bf8c34859848a69906d50a3a0de95be | |
parent | c4afffba8a06e4921facafb823ce2695461e3047 [diff] | |
parent | ed4a40777a89881b528fd62eabaaa39f6e73e9c6 [diff] |
Copy description from Cargo.toml to METADATA am: 04265b7097 am: 2dd58bbeac am: 12cf1d4494 am: ed4a40777a Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1456147 Change-Id: I56611cdb1eaab2f44de9d3f01dbcdcba4198783b
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.