#constants #associated #bitflags #fork #temporary #stabilise

nightly bitflags-associated-constants

TEMPORARY FORK until associated constants stabilise

1 unstable release

Uses old Rust 2015

0.6.0 Jun 1, 2017

#37 in #bitflags

23 downloads per month
Used in dpdk

MIT/Apache

26KB
472 lines

bitflags-associated-constants

This is a temporary fork of an obsolete version of bitflags in order to use associated constants and constant functions

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
bitflags-associated-constants = "0.6"

and this to your crate root:

#[macro_use]
extern crate bitflags_associated_constants;

lib.rs:

A typesafe bitmask flag generator.

No runtime deps