• Home
Name Date Size #Lines LOC

..--

.github/workflows/06-Sep-2024-5748

patches/06-Sep-2024-2822

src/06-Sep-2024-1,7461,062

tests/06-Sep-2024-586462

.cargo_vcs_info.jsonD06-Sep-202474 65

.gitignoreD06-Sep-202431 64

Android.bpD06-Sep-20243.1 KiB110104

CHANGELOG.mdD06-Sep-20246.4 KiB207135

CODE_OF_CONDUCT.mdD06-Sep-20243.1 KiB7355

Cargo.tomlD06-Sep-20241.6 KiB6051

Cargo.toml.origD06-Sep-20241 KiB4035

LICENSED06-Sep-202410.6 KiB202169

LICENSE-APACHED06-Sep-202410.6 KiB202169

LICENSE-MITD06-Sep-20241 KiB2622

METADATAD06-Sep-2024398 2019

MODULE_LICENSE_APACHE2D06-Sep-20240

OWNERSD06-Sep-202440 21

README.mdD06-Sep-20241,023 3322

TEST_MAPPINGD06-Sep-20241.9 KiB9493

cargo_embargo.jsonD06-Sep-2024432 2120

rules.mkD06-Sep-2024435 2013

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