commit | de05122fa19635560828522475da62cb8a688ac4 | [log] [tgz] |
---|---|---|
author | Roopa Sattiraju <[email protected]> | Wed Dec 22 17:55:58 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Dec 22 17:55:58 2021 +0000 |
tree | e46cd99d3adb97fd9c4fdf65e73555b13b5f456b | |
parent | 5cc0dca5ba5195bf2be69fb3a7d1e07121fda995 [diff] | |
parent | 90125b4ea7ff80f0a8ced9f1c86723ed4dddc6d0 [diff] |
Adding bluetooth apex am: 3be99c1ed0 am: 54ad4e8af6 am: 73c6f9b65d am: 90125b4ea7 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1931399 Change-Id: Idc54666be6135acb147f02abb7c2d34fac1a36b7
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.3"
and this to your source code:
use bitflags::bitflags;
The minimum supported Rust version is 1.46 due to use of associated constants and const functions.