Merge "Upgrade rust/crates/bitflags to 1.3.2" am: 2c02339005 am: f2dac621d5 am: b71570c826 am: 14b7f4a63c am: 168b82d2c6

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

Change-Id: I8e7b592b4b949058fd6dda961550c20f19080d69
tree: b2594e1fc7ab61aee60e80ead080e1eef8e6e147
  1. .github/
  2. patches/
  3. src/
  4. tests/
  5. .cargo_vcs_info.json
  6. .gitignore
  7. Android.bp
  8. Cargo.toml
  9. Cargo.toml.orig
  10. cargo2android.json
  11. CHANGELOG.md
  12. CODE_OF_CONDUCT.md
  13. LICENSE-APACHE
  14. LICENSE-MIT
  15. METADATA
  16. MODULE_LICENSE_APACHE2
  17. OWNERS
  18. README.md
  19. TEST_MAPPING
README.md

bitflags

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

Usage

Add this to your Cargo.toml:

[dependencies]
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.