Bug: 146584155

Clone this repo:
  1. 3be99c1 Adding bluetooth apex by Roopa Sattiraju · 4 weeks ago master
  2. 65aaaa7 Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." by Joel Galenson · 5 weeks ago
  3. 31e3ccc Refresh Android.bp, cargo2android.json, TEST_MAPPING. by Joel Galenson · 7 weeks ago
  4. 36c0b9e Make vendor available. am: a250037d1e by Janis Danisevskis · 9 weeks ago
  5. a250037 Make vendor available. by Janis Danisevskis · 10 weeks ago


Rust Join the chat at https://gitter.im/bitflags/Lobby Latest version Documentation License

A Rust macro to generate structures which behave like a set of bitflags


Add this to your Cargo.toml:

bitflags = "1.3"

and this to your source code:

use bitflags::bitflags;

Rust Version Support

The minimum supported Rust version is 1.46 due to use of associated constants and const functions.