commit | 31f059a4ade1fca68297be99d6086672e357e57e | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Fri Apr 30 02:41:46 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri Apr 30 02:41:46 2021 +0000 |
tree | 79f389b1c65ee3eae9d26f714053ca0f19be4752 | |
parent | 13485d1aca349624f09db7b028ba140956e69f2f [diff] | |
parent | 1ef890ed9e6f5fbdc51072dc58779580841beede [diff] |
Snap for 7325276 from 8ceb2c6d3b4581740ffa5fa857a2023b8f3985e5 to sc-release am: 1ef890ed9e Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/14371577 Change-Id: Ieec423ed1e698d64e9405f56008f5396a0f5e8ee
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.