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