• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-1,446908

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D01-Jan-197074 65

.gitignoreH A D09-Apr-201927 53

CHANGELOG.mdH A D13-Oct-20194.6 KiB150100

CODE_OF_CONDUCT.mdH A D09-Apr-20193.1 KiB7355

Cargo.tomlH A D01-Jan-19701.2 KiB3532

Cargo.toml.orig-cargoH A D13-Oct-2019847 3832

LICENSE-APACHEH A D09-Apr-201910.6 KiB202169

LICENSE-MITH A D09-Apr-20191 KiB2622

README.mdH A D09-Apr-20191.1 KiB3524

build.rsH A D02-May-2019983 4435

README.md

1bitflags
2========
3
4[![Build Status](https://travis-ci.com/bitflags/bitflags.svg?branch=master)](https://travis-ci.com/bitflags/bitflags)
5[![Join the chat at https://gitter.im/bitflags/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bitflags/Lobby?utm_source=badge&utm_medium=badge&utm_content=badge)
6[![Latest version](https://img.shields.io/crates/v/bitflags.svg)](https://crates.io/crates/bitflags)
7[![Documentation](https://docs.rs/bitflags/badge.svg)](https://docs.rs/bitflags)
8![Minimum rustc version](https://img.shields.io/badge/rustc-1.20+-yellow.svg)
9![License](https://img.shields.io/crates/l/bitflags.svg)
10
11A Rust macro to generate structures which behave like a set of bitflags
12
13- [Documentation](https://docs.rs/bitflags)
14- [Release notes](https://github.com/bitflags/bitflags/releases)
15
16## Usage
17
18Add this to your `Cargo.toml`:
19
20```toml
21[dependencies]
22bitflags = "1.0"
23```
24
25and this to your crate root:
26
27```rust
28#[macro_use]
29extern crate bitflags;
30```
31
32## Rust Version Support
33
34The minimum supported Rust version is 1.20 due to use of associated constants.
35