commit | b9e16e5f941a94bd3cb219a1534bf71cb6737ed9 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 03:24:52 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 03:24:52 2022 +0000 |
tree | e46cd99d3adb97fd9c4fdf65e73555b13b5f456b | |
parent | 9181fbb4cc7e9d7df776a61afd72d9908e594e8e [diff] | |
parent | de05122fa19635560828522475da62cb8a688ac4 [diff] |
Snap for 8191477 from de05122fa19635560828522475da62cb8a688ac4 to tm-frc-networking-release Change-Id: I65e41b285b45286851be010b869d8298fc310c42
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.