commit | 2dd58bbeacd6245ae36e661256e60dd54d1e9c13 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 12 09:44:57 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Oct 12 09:44:57 2020 +0000 |
tree | 16e8ff657bf8c34859848a69906d50a3a0de95be | |
parent | 55c82dbcb6cec25570a47c70f01c400df4a8858a [diff] | |
parent | 04265b7097189eabda48f8dc480f5b20b34231c4 [diff] |
Copy description from Cargo.toml to METADATA am: 04265b7097 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1456147 Change-Id: I634c66a5de84a37cae6bbb877dc6ededc08ad2dc
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.