Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/workflows/ | 03-May-2024 | - | 57 | 48 | ||
patches/ | 03-May-2024 | - | 15 | 12 | ||
src/ | 03-May-2024 | - | 1,746 | 1,062 | ||
tests/ | 03-May-2024 | - | 586 | 462 | ||
.cargo_vcs_info.json | D | 03-May-2024 | 74 | 6 | 5 | |
.gitignore | D | 03-May-2024 | 31 | 6 | 4 | |
Android.bp | D | 03-May-2024 | 3 KiB | 112 | 106 | |
CHANGELOG.md | D | 03-May-2024 | 6.4 KiB | 207 | 135 | |
CODE_OF_CONDUCT.md | D | 03-May-2024 | 3.1 KiB | 73 | 55 | |
Cargo.toml | D | 03-May-2024 | 1.6 KiB | 59 | 50 | |
Cargo.toml.orig | D | 03-May-2024 | 1 KiB | 40 | 35 | |
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 | 398 | 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,023 | 33 | 22 | |
TEST_MAPPING | D | 03-May-2024 | 2.3 KiB | 136 | 135 | |
cargo2android.json | D | 03-May-2024 | 344 | 20 | 19 |
README.md
1bitflags 2======== 3 4[](https://github.com/bitflags/bitflags/actions) 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 10A Rust macro to generate structures which behave like a set of bitflags 11 12- [Documentation](https://docs.rs/bitflags) 13- [Release notes](https://github.com/bitflags/bitflags/releases) 14 15## Usage 16 17Add this to your `Cargo.toml`: 18 19```toml 20[dependencies] 21bitflags = "1.3" 22``` 23 24and this to your source code: 25 26```rust 27use bitflags::bitflags; 28``` 29 30## Rust Version Support 31 32The minimum supported Rust version is 1.46 due to use of associated constants and const functions. 33