Snap for 7343852 from 8ceb2c6d3b4581740ffa5fa857a2023b8f3985e5 to sc-mainline-release

Change-Id: Ibcf11632208510cd03a93efdaa166c6d21073d0d
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.