A macro to generate structures which behave like bitflags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Release 1.0.4 Aug 21, 2018
test_suite Remove i128 feature flag in test Apr 30, 2018
.gitignore Move tests to test suite crate Oct 17, 2017
.travis.yml bors is here May 31, 2018
CHANGELOG.md Update changelog for 1.0.4 Aug 21, 2018
CODE_OF_CONDUCT.md add code of conduct (#160) May 31, 2018
Cargo.toml Release 1.0.4 Aug 21, 2018
LICENSE-APACHE Initial commit Jan 15, 2015
LICENSE-MIT Initial commit Jan 15, 2015
README.md add badges like rand crate Jul 1, 2018
bors.toml Update bors.toml May 31, 2018

README.md

bitflags

Build Status Join the chat at https://gitter.im/bitflags/Lobby Latest version Documentation Minimum rustc version License

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

Usage

Add this to your Cargo.toml:

[dependencies]
bitflags = "1.0"

and this to your crate root:

#[macro_use]
extern crate bitflags;

Rust Version Support

The minimum supported Rust version is 1.20 due to use of associated constants.