commit | ef476242d2b195cfa903b026f2e8150950a42a57 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Fri May 14 23:12:27 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri May 14 23:12:27 2021 +0000 |
tree | 9dd219ea0595ea141ca04a576fdf2f7c2de70f50 | |
parent | 8ceb2c6d3b4581740ffa5fa857a2023b8f3985e5 [diff] | |
parent | 1f028991cc9bd1845a03c28dca6fc7b7e4ea187f [diff] |
Make available to com.android.compos apex am: 074a1b2411 am: 1f028991cc Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1706887 Change-Id: I96855365b4100ebe83eb6d28e5b6d2c1625795f0
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.