commit | 14b7f4a63cbc67f76d6ca27f1fc65ea0572ffe5e | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Fri Oct 08 21:48:30 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 08 21:48:30 2021 +0000 |
tree | b2594e1fc7ab61aee60e80ead080e1eef8e6e147 | |
parent | 73b00f55bcabb65ed043fb3239b2f50c40fbea46 [diff] | |
parent | b71570c8268d19bc8941797129085e8d8788ae4f [diff] |
Merge "Upgrade rust/crates/bitflags to 1.3.2" am: 2c02339005 am: f2dac621d5 am: b71570c826 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1833574 Change-Id: I299f6c09ccaf73d42e5aae31b3614a3b2cea77a2
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.