2015-01-15 00:31:55 -08:00
|
|
|
[package]
|
|
|
|
name = "bitflags"
|
2017-03-29 08:59:29 -04:00
|
|
|
# NB: When modifying, also modify:
|
|
|
|
# 1. html_root_url in lib.rs
|
|
|
|
# 2. number in readme (for breaking changes)
|
2021-08-12 13:07:45 +10:00
|
|
|
version = "1.3.1"
|
2021-07-19 19:20:53 +02:00
|
|
|
edition = "2018"
|
2015-01-15 00:31:55 -08:00
|
|
|
authors = ["The Rust Project Developers"]
|
|
|
|
license = "MIT/Apache-2.0"
|
2017-10-02 17:51:35 +03:00
|
|
|
keywords = ["bit", "bitmask", "bitflags", "flags"]
|
2015-01-15 00:31:55 -08:00
|
|
|
readme = "README.md"
|
2018-05-31 19:16:13 +10:00
|
|
|
repository = "https://github.com/bitflags/bitflags"
|
|
|
|
homepage = "https://github.com/bitflags/bitflags"
|
2017-03-29 08:59:29 -04:00
|
|
|
documentation = "https://docs.rs/bitflags"
|
2017-03-30 10:23:59 +02:00
|
|
|
categories = ["no-std"]
|
2015-01-15 00:31:55 -08:00
|
|
|
description = """
|
|
|
|
A macro to generate structures which behave like bitflags.
|
|
|
|
"""
|
2021-07-19 19:20:53 +02:00
|
|
|
exclude = ["bors.toml"]
|
2017-03-06 20:19:42 -08:00
|
|
|
|
2020-10-12 16:51:45 +02:00
|
|
|
[dependencies]
|
|
|
|
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
|
|
|
|
compiler_builtins = { version = '0.1.2', optional = true }
|
|
|
|
|
2021-07-19 19:20:53 +02:00
|
|
|
[dev-dependencies]
|
|
|
|
trybuild = "1.0"
|
2021-08-05 12:48:40 +10:00
|
|
|
rustversion = "1.0"
|
2021-08-12 12:40:03 +10:00
|
|
|
walkdir = "2.3"
|
2021-07-19 19:20:53 +02:00
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
2017-03-06 20:19:42 -08:00
|
|
|
[features]
|
2018-04-25 21:40:48 -04:00
|
|
|
default = []
|
2017-04-04 13:57:51 +03:00
|
|
|
example_generated = []
|
2020-10-12 16:51:45 +02:00
|
|
|
rustc-dep-of-std = ["core", "compiler_builtins"]
|
2018-04-25 21:40:48 -04:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2021-07-19 19:20:53 +02:00
|
|
|
features = ["example_generated"]
|