| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| src/ | 03-May-2024 | - | 1,446 | 907 | ||
| .cargo_vcs_info.json | D | 03-May-2024 | 74 | 6 | 5 | |
| .gitignore | D | 03-May-2024 | 27 | 5 | 3 | |
| Android.bp | D | 03-May-2024 | 2.3 KiB | 79 | 72 | |
| CHANGELOG.md | D | 03-May-2024 | 4.6 KiB | 150 | 100 | |
| CODE_OF_CONDUCT.md | D | 03-May-2024 | 3.1 KiB | 73 | 55 | |
| Cargo.toml | D | 03-May-2024 | 1.2 KiB | 35 | 32 | |
| Cargo.toml.orig | D | 03-May-2024 | 847 | 38 | 32 | |
| LICENSE | D | 03-May-2024 | 10.6 KiB | 202 | 169 | |
| LICENSE-APACHE | D | 03-May-2024 | 10.6 KiB | 202 | 169 | |
| LICENSE-MIT | D | 03-May-2024 | 1 KiB | 26 | 22 | |
| METADATA | D | 03-May-2024 | 399 | 20 | 19 | |
| MODULE_LICENSE_APACHE2 | D | 03-May-2024 | 0 | |||
| OWNERS | D | 03-May-2024 | 40 | 2 | 1 | |
| README.md | D | 03-May-2024 | 1.1 KiB | 35 | 24 | |
| TEST_MAPPING | D | 03-May-2024 | 203 | 12 | 11 | |
| build.rs | D | 03-May-2024 | 983 | 44 | 35 | |
| cargo2android.json | D | 03-May-2024 | 159 | 10 | 10 |
README.md
1bitflags 2======== 3 4[](https://travis-ci.com/bitflags/bitflags) 5[](https://gitter.im/bitflags/Lobby?utm_source=badge&utm_medium=badge&utm_content=badge) 6[](https://crates.io/crates/bitflags) 7[](https://docs.rs/bitflags) 8 9 10 11A Rust macro to generate structures which behave like a set of bitflags 12 13- [Documentation](https://docs.rs/bitflags) 14- [Release notes](https://github.com/bitflags/bitflags/releases) 15 16## Usage 17 18Add this to your `Cargo.toml`: 19 20```toml 21[dependencies] 22bitflags = "1.0" 23``` 24 25and this to your crate root: 26 27```rust 28#[macro_use] 29extern crate bitflags; 30``` 31 32## Rust Version Support 33 34The minimum supported Rust version is 1.20 due to use of associated constants. 35