gecko-dev/third_party/rust/bitflags
2017-06-01 09:52:00 +10:00
..
src Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE. 2017-06-01 09:52:00 +10:00
tests Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE. 2017-06-01 09:52:00 +10:00
.cargo-checksum.json Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE. 2017-06-01 09:52:00 +10:00
.cargo-ok
.gitignore
.travis.yml Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE. 2017-06-01 09:52:00 +10:00
Cargo.toml Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE. 2017-06-01 09:52:00 +10:00
LICENSE-APACHE
LICENSE-MIT
README.md Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE. 2017-06-01 09:52:00 +10:00

bitflags

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

Build Status

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
bitflags = "0.7"

and this to your crate root:

#[macro_use]
extern crate bitflags;

128-bit integer bitflags (nightly only)

Add this to your Cargo.toml:

[dependencies.bitflags]
version = "0.7"
features = ["i128"]

and this to your crate root:

#![feature(i128_type)]

#[macro_use]
extern crate bitflags;