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

..--

src/23-Nov-2023-1,446907

.cargo_vcs_info.jsonD23-Nov-202374 65

.gitignoreD23-Nov-202327 53

Android.bpD23-Nov-20232.3 KiB7972

CHANGELOG.mdD23-Nov-20234.6 KiB150100

CODE_OF_CONDUCT.mdD23-Nov-20233.1 KiB7355

Cargo.tomlD23-Nov-20231.2 KiB3532

Cargo.toml.origD23-Nov-2023847 3832

LICENSED23-Nov-202310.6 KiB202169

LICENSE-APACHED23-Nov-202310.6 KiB202169

LICENSE-MITD23-Nov-20231 KiB2622

METADATAD23-Nov-2023399 2019

MODULE_LICENSE_APACHE2D23-Nov-20230

OWNERSD23-Nov-202340 21

README.mdD23-Nov-20231.1 KiB3524

TEST_MAPPINGD23-Nov-2023203 1211

build.rsD23-Nov-2023983 4435

cargo2android.jsonD23-Nov-2023159 1010

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