aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig23
1 files changed, 14 insertions, 9 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index be9e05a..a239132 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -3,10 +3,11 @@ name = "bitflags"
# NB: When modifying, also modify:
# 1. html_root_url in lib.rs
# 2. number in readme (for breaking changes)
-version = "1.3.2"
-edition = "2018"
+version = "2.2.1"
+edition = "2021"
+rust-version = "1.56.0"
authors = ["The Rust Project Developers"]
-license = "MIT/Apache-2.0"
+license = "MIT OR Apache-2.0"
keywords = ["bit", "bitmask", "bitflags", "flags"]
readme = "README.md"
repository = "https://github.com/bitflags/bitflags"
@@ -16,22 +17,26 @@ categories = ["no-std"]
description = """
A macro to generate structures which behave like bitflags.
"""
-exclude = ["bors.toml"]
+exclude = ["tests", ".github"]
[dependencies]
-core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
-compiler_builtins = { version = '0.1.2', optional = true }
+serde = { version = "1.0", optional = true, default-features = false }
+arbitrary = { version = "1.0", optional = true }
+bytemuck = { version = "1.0", optional = true }
+core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
+compiler_builtins = { version = "0.1.2", optional = true }
[dev-dependencies]
trybuild = "1.0"
rustversion = "1.0"
-walkdir = "2.3"
-serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
+serde_test = "1.0"
+arbitrary = { version = "1.0", features = ["derive"] }
+bytemuck = { version = "1.0", features = ["derive"] }
[features]
-default = []
+std = []
example_generated = []
rustc-dep-of-std = ["core", "compiler_builtins"]