commit | a7d0ceed4b460d8d8b368ae79143833e54f67beb | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Aug 28 00:09:18 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Aug 28 00:09:18 2020 +0000 |
tree | 0b77d4cc6e04e4ccbd5fcc0cde0db1ae85076861 | |
parent | c117ad316dce01ca8e6c50415c286783867026d0 [diff] | |
parent | 3b38934eb25d6a2fe1a6508a92ebdc38117188fb [diff] |
Fix bitflags/METADATA am: e68ed0e1a6 am: 506efc2ebd am: 515d292c67 am: ad6b96bfe6 am: 3b38934eb2 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1414088 Change-Id: Ia4d508c040b23d2d7cac6262cbb0b4644d016257
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.