Generate apex_available from c2a instead of a patch

Test: Run c2a
Test: Build
Change-Id: I22b5d38995dbc597f4e684c9d1d0a5e6927222b2
3 files changed
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.