Go to file
2021-08-12 12:40:03 +10:00
.github/workflows Move test_suite to tests 2021-07-19 19:43:25 +02:00
src reorganize crate tests 2021-08-12 11:05:35 +10:00
tests add another test for custom base type 2021-08-12 12:40:03 +10:00
.gitignore commit stderr for compilefail tests 2021-08-05 11:06:04 +10:00
bors.toml Remove remaining mentions of Travis CI 2021-05-09 18:12:50 +03:00
Cargo.toml add another test for custom base type 2021-08-12 12:40:03 +10:00
CHANGELOG.md Update CHANGELOG.md 2021-08-12 07:45:56 +10:00
CODE_OF_CONDUCT.md add code of conduct (#160) 2018-05-31 15:09:56 +05:30
LICENSE-APACHE Initial commit 2015-01-15 00:32:45 -08:00
LICENSE-MIT Initial commit 2015-01-15 00:32:45 -08:00
README.md prepare for 1.3.0 release 2021-08-05 11:28:42 +10:00

bitflags

Rust Join the chat at https://gitter.im/bitflags/Lobby Latest version Documentation License

A Rust macro to generate structures which behave like a set of bitflags

Usage

Add this to your Cargo.toml:

[dependencies]
bitflags = "1.3"

and this to your source code:

use bitflags::bitflags;

Rust Version Support

The minimum supported Rust version is 1.46 due to use of associated constants and const functions.