Crates.io | bitflags12 |
lib.rs | bitflags12 |
version | 1.2.2 |
source | src |
created_at | 2021-11-09 08:00:50.455503 |
updated_at | 2021-11-09 08:07:36.362083 |
description | A macro to generate structures which behave like bitflags. |
homepage | https://github.com/bitflags/bitflags |
repository | https://github.com/bitflags/bitflags |
max_upload_size | |
id | 478780 |
size | 69,426 |
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies]
bitflags = "1.0"
and this to your crate root:
#[macro_use]
extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.