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