1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00
libpsyc/rust/third_party/bitflags/README.md

25 lines
447 B
Markdown
Raw Normal View History

2016-09-13 14:18:07 +00:00
bitflags
========
A Rust macro to generate structures which behave like a set of bitflags
[![Build Status](https://travis-ci.org/rust-lang-nursery/bitflags.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/bitflags)
[Documentation](https://doc.rust-lang.org/bitflags)
## Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
bitflags = "0.7"
```
and this to your crate root:
```rust
#[macro_use]
extern crate bitflags;
```