tag | 0a255781e3e163d4a0d5e22ec59002c1e59c5cbf | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Feb 18 09:58:17 2021 -0800 |
object | fafb6f12e89f69b57fe814c7cc4fbf9e63186347 |
Android S Preview 1
commit | fafb6f12e89f69b57fe814c7cc4fbf9e63186347 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Fri Feb 12 21:29:23 2021 -0800 |
committer | Bob Badour <bbadour@google.com> | Fri Feb 12 21:29:23 2021 -0800 |
tree | b8100f2cefdf43e4d3f8650d7325c1ca8e956c01 | |
parent | b8bba2380dc9c29c13d8d9d9b545b156c4269031 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/bitflags Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ieb19f7deb58926a5e39309469b0a1586a4156f74
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.0"
and this to your crate root:
#[macro_use] extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.