You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| src | 3 years ago | |
| .cargo_vcs_info.json | 3 years ago | |
| .gitignore | 3 years ago | |
| Android.bp | 3 years ago | |
| CHANGELOG.md | 3 years ago | |
| CODE_OF_CONDUCT.md | 3 years ago | |
| Cargo.toml | 3 years ago | |
| Cargo.toml.orig | 3 years ago | |
| LICENSE | 3 years ago | |
| LICENSE-APACHE | 3 years ago | |
| LICENSE-MIT | 3 years ago | |
| METADATA | 3 years ago | |
| MODULE_LICENSE_APACHE2 | 3 years ago | |
| OWNERS | 3 years ago | |
| README.md | 3 years ago | |
| TEST_MAPPING | 3 years ago | |
| build.rs | 3 years ago | |
| cargo2android.json | 3 years ago | |
README.md
bitflags
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.