commit | 84ca1da5802de61aef1439b96bd6d67f14d0c111 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Aug 27 18:57:25 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 27 18:57:25 2020 +0000 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | 7780ece6dfa3f6d951fc54913deefe008566651e [diff] | |
parent | 3f1b78c088a9ef51ef9844cabe8e88d31e40a428 [diff] |
[automerger skipped] Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as merged am: bad4799526 -s ours am: 3f1b78c088 -s ours am skip reason: Change-Id I72a48b539b851a297dae70f394b3236deac9b865 with SHA-1 046ea25792 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/12469818 Change-Id: I5dc52e693bd33d90ca8a6893dc0364010c46d53b
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.