| 1 |
[package] |
| 2 |
name = "bitflags" |
| 3 |
# NB: When modifying, also modify: |
| 4 |
# 1. html_root_url in lib.rs |
| 5 |
# 2. number in readme (for breaking changes) |
| 6 |
version = "1.3.2" |
| 7 |
edition = "2018" |
| 8 |
authors = ["The Rust Project Developers"] |
| 9 |
license = "MIT/Apache-2.0" |
| 10 |
keywords = ["bit", "bitmask", "bitflags", "flags"] |
| 11 |
readme = "README.md" |
| 12 |
repository = "https://github.com/bitflags/bitflags" |
| 13 |
homepage = "https://github.com/bitflags/bitflags" |
| 14 |
documentation = "https://docs.rs/bitflags" |
| 15 |
categories = ["no-std"] |
| 16 |
description = """ |
| 17 |
A macro to generate structures which behave like bitflags. |
| 18 |
""" |
| 19 |
exclude = ["bors.toml"] |
| 20 |
|
| 21 |
[dependencies] |
| 22 |
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' } |
| 23 |
compiler_builtins = { version = '0.1.2', optional = true } |
| 24 |
|
| 25 |
[dev-dependencies] |
| 26 |
trybuild = "1.0" |
| 27 |
rustversion = "1.0" |
| 28 |
walkdir = "2.3" |
| 29 |
serde = "1.0" |
| 30 |
serde_derive = "1.0" |
| 31 |
serde_json = "1.0" |
| 32 |
|
| 33 |
[features] |
| 34 |
default = [] |
| 35 |
example_generated = [] |
| 36 |
rustc-dep-of-std = ["core", "compiler_builtins"] |
| 37 |
|
| 38 |
[package.metadata.docs.rs] |
| 39 |
features = ["example_generated"] |