commit | 4a76452265a34b58204a601afd800158e30328e9 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon May 09 06:19:44 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon May 09 06:19:44 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | b9e16e5f941a94bd3cb219a1534bf71cb6737ed9 [diff] | |
parent | 2b803731c01caa4523f7644fd106730556fd97db [diff] |
Snap for 8558685 from 2b803731c01caa4523f7644fd106730556fd97db to tm-frc-networking-release Change-Id: Ie285be2cb1fb904d20bbab9e7ca454cbb9a8517d
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.