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