Bug: 146584155

Clone this repo:
  1. 36d7307 Share srcs in rust_defaults by Chih-Hung Hsieh · 4 weeks ago master
  2. 21b3111 Add rust_test and update TEST_MAPPING by Chih-Hung Hsieh · 4 weeks ago
  3. 82f0b48 Regenerate Android.bp with new cargo2android.py by Chih-Hung Hsieh · 5 weeks ago android-r-beta-2 android-r-beta-3
  4. 541fa02 Support building all variants. by Matthew Maurer · 6 weeks ago
  5. 4bf8ff9 Allow building for device. by Andrew Walbran · 2 months ago aosp-emu-30-release

bitflags

Build Status Join the chat at https://gitter.im/bitflags/Lobby Latest version Documentation Minimum rustc version License

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

Usage

Add this to your Cargo.toml:

[dependencies]
bitflags = "1.0"

and this to your crate root:

#[macro_use]
extern crate bitflags;

Rust Version Support

The minimum supported Rust version is 1.20 due to use of associated constants.