commit | 859eab669ba1f71fc044bd05108a87655a9fc2c7 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Jul 21 20:42:50 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 21 20:42:50 2020 +0000 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | fb2a890f299318ffc6c1a63f009fe269be611fc1 [diff] | |
parent | 44365bad8831017177b66005465b521c37db3fa2 [diff] |
Share srcs in rust_defaults am: 36d7307a9c am: 44365bad88 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1365688 Change-Id: I1563645e795138b0c2a24e4ff0b67ec6ace89c84
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.