Skip to content

Commit

Permalink
Revert "chore: Update bitflags dep to 2.0"
Browse files Browse the repository at this point in the history
This reverts commit 6878a19.
  • Loading branch information
epage committed Mar 18, 2023
1 parent 79b44d0 commit 769ccc5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
12 changes: 3 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ bench = false
[dependencies]
clap_derive = { path = "./clap_derive", version = "=4.1.12", optional = true }
clap_lex = { path = "./clap_lex", version = "0.3.0" }
bitflags = "2.0.0"
bitflags = "1.2.0"
unicase = { version = "2.6.0", optional = true }
strsim = { version = "0.10.0", optional = true }
is-terminal = { version = "0.4.1", optional = true }
Expand Down
1 change: 0 additions & 1 deletion src/builder/app_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ pub(crate) enum AppSettings {
}

bitflags! {
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
struct Flags: u64 {
const SC_NEGATE_REQS = 1;
const SC_REQUIRED = 1 << 1;
Expand Down
1 change: 0 additions & 1 deletion src/builder/arg_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ pub(crate) enum ArgSettings {
}

bitflags! {
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
struct Flags: u32 {
const REQUIRED = 1;
const GLOBAL = 1 << 3;
Expand Down

0 comments on commit 769ccc5

Please sign in to comment.