Name | Date | Size | ||
---|---|---|---|---|
.. | 25-Oct-2024 | 4 KiB | ||
.github/workflows/ | H | 25-Oct-2024 | 4 KiB | |
.gitignore | H A D | 25-Oct-2024 | 31 | |
bors.toml | H A D | 25-Oct-2024 | 22 | |
BUILD.gn | H A D | 25-Oct-2024 | 986 | |
Cargo.toml | H A D | 25-Oct-2024 | 1 KiB | |
CHANGELOG.md | H A D | 25-Oct-2024 | 6.4 KiB | |
CODE_OF_CONDUCT.md | H A D | 25-Oct-2024 | 3.1 KiB | |
LICENSE-APACHE | H A D | 25-Oct-2024 | 10.6 KiB | |
LICENSE-MIT | H A D | 25-Oct-2024 | 1 KiB | |
README.md | H A D | 25-Oct-2024 | 1,023 | |
README.OpenSource | H A D | 25-Oct-2024 | 350 | |
src/ | H | 25-Oct-2024 | 4 KiB | |
tests/ | H | 25-Oct-2024 | 4 KiB |
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
README.OpenSource
1[ 2 { 3 "Name": "bitflags", 4 "License": "Apache License V2.0, MIT", 5 "License File": "LICENSE-APACHE, LICENSE-MIT", 6 "Version Number": "1.3.2", 7 "Owner": "fangting12@huawei.com", 8 "Upstream URL": "https://github.com/bitflags/bitflags", 9 "Description": "A macro that makes it easy to define and work with bitflags in Rust. " 10 } 11] 12