Generate apex_available from c2a instead of a patch am: 89e0a889bc am: b772c12c88 am: 860c039a4f am: 8ceb2c6d3b

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1688686

Change-Id: I8e4ba208b95a09a79c3674de6bf3abc204a6a927
tree: 79f389b1c65ee3eae9d26f714053ca0f19be4752
  1. src/
  2. .cargo_vcs_info.json
  3. .gitignore
  4. Android.bp
  5. build.rs
  6. Cargo.toml
  7. Cargo.toml.orig
  8. cargo2android.json
  9. CHANGELOG.md
  10. CODE_OF_CONDUCT.md
  11. LICENSE-APACHE
  12. LICENSE-MIT
  13. METADATA
  14. MODULE_LICENSE_APACHE2
  15. OWNERS
  16. README.md
  17. TEST_MAPPING
README.md

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.