commit | 44365bad8831017177b66005465b521c37db3fa2 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <[email protected]> | Tue Jul 21 20:25:35 2020 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Jul 21 20:25:35 2020 +0000 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | 099778819d8e55379d69950af0012ef175aa0037 [diff] | |
parent | 36d7307a9cff98e3378874daf8a2dc9b1bf72e5c [diff] |
Share srcs in rust_defaults am: 36d7307a9c Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1365688 Change-Id: I9966b73504a99bde6d7a05aec1b5d0af822bc597
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.