Go to file
2021-06-27 20:10:26 +02:00
.github/workflows bump to 1.46.0 2021-05-16 16:05:05 +10:00
src Don't reexport core 2021-06-27 20:10:26 +02:00
test_suite Modernize imports 2021-06-27 20:00:43 +02:00
.gitignore Use compiletest_rs flags supported by stable toolchain, and fixed it's version in place. 2019-01-26 10:20:34 +02:00
bors.toml Remove remaining mentions of Travis CI 2021-05-09 18:12:50 +03:00
Cargo.toml remove unneeded infra and dependence on compiler msgs 2021-05-16 20:08:13 +10:00
CHANGELOG.md Update to 1.2.1 2019-10-13 15:38:06 +01: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 Modernize imports 2021-06-27 20:00:43 +02: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.2"

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.