Skip to content

Commit bb3b4a5

Browse files
Add workspace dep for clap
This deduplicates the clap dep in authenticode-tool and xtask. Note that more features are now enabled in the xtask version (since "default-features=false" isn't set), but it doesn't really matter since it's an internal tool, and the extra features were probably enabled anyway due to feature unification.
1 parent c08c383 commit bb3b4a5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ license = "MIT OR Apache-2.0"
1616
repository = "https://github.com/google/authenticode-rs"
1717
rust-version = "1.74"
1818
version = "0.4.3"
19+
20+
[workspace.dependencies]
21+
clap = { version = "4.4.7", features = ["derive"] }

authenticode-tool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ version.workspace = true
2323
[dependencies]
2424
anyhow = "1.0.71"
2525
authenticode = { path = "../authenticode", version = "0.4.0", features = ["object", "std"] }
26-
clap = { version = "4.4.7", features = ["derive"] }
26+
clap.workspace = true
2727
cms = { version = "0.2.0", default-features = false }
2828
der = { version = "0.7.0", default-features = false, features = ["std"] }
2929
digest = { version = "0.10.0", default-features = false }

xtask/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ repository.workspace = true
88
version.workspace = true
99

1010
[dependencies]
11-
clap = { version = "4.4.7", default-features = false, features = ["derive", "std", "help"] }
11+
clap.workspace = true
1212
fs-err = "2.9.0"
1313
tempfile = "3.8.1"

0 commit comments

Comments
 (0)