Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 03-May-2022 | - | 57 | 48 | |
src/ | H | 03-May-2022 | - | 1,745 | 1,062 | |
tests/ | H | 03-May-2022 | - | 586 | 462 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.cargo_vcs_info.json | H A D | 01-Jan-1970 | 74 | 6 | 5 | |
.gitignore | H A D | 01-Jan-1970 | 31 | 6 | 4 | |
CHANGELOG.md | H A D | 01-Jan-1970 | 6.4 KiB | 207 | 135 | |
CODE_OF_CONDUCT.md | H A D | 01-Jan-1970 | 3.1 KiB | 73 | 55 | |
Cargo.toml | H A D | 01-Jan-1970 | 1.6 KiB | 59 | 50 | |
Cargo.toml.orig-cargo | H A D | 01-Jan-1970 | 1 KiB | 40 | 35 | |
LICENSE-APACHE | H A D | 01-Jan-1970 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | H A D | 01-Jan-1970 | 1 KiB | 26 | 22 | |
README.md | H A D | 01-Jan-1970 | 1,023 | 33 | 22 |
README.md
1bitflags 2======== 3 4[![Rust](https://github.com/bitflags/bitflags/workflows/Rust/badge.svg)](https://github.com/bitflags/bitflags/actions) 5[![Join the chat at https://gitter.im/bitflags/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bitflags/Lobby?utm_source=badge&utm_medium=badge&utm_content=badge) 6[![Latest version](https://img.shields.io/crates/v/bitflags.svg)](https://crates.io/crates/bitflags) 7[![Documentation](https://docs.rs/bitflags/badge.svg)](https://docs.rs/bitflags) 8![License](https://img.shields.io/crates/l/bitflags.svg) 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