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