#bit-flags #libcore #fork #libstd #type-safe #set #rust-lang-nursery-bitflags

nightly bitflags-core

A fork of rust-lang-nursery/bitflags that uses libcore, not libstd

2 releases

Uses old Rust 2015

0.3.4 Dec 30, 2015
0.3.3 Dec 30, 2015

#5 in #libcore

MIT/Apache

14KB
159 lines

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.3"

and this to your crate root:

#[macro_use]
extern crate bitflags;

lib.rs:

A typesafe bitmask flag generator.

No runtime deps