Skip to content

Commit 71f11c2

Browse files
committed
Apply new clippy lints to all crates in the workspace
1 parent cfc7f85 commit 71f11c2

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,9 @@ zip = { version = ">= 3.0.0, < 4.0.0", default-features = false, features = [
5454
"zstd",
5555
] }
5656
zstd = { version = "0.13.3", default-features = false }
57+
58+
[workspace.lints.rust]
59+
fallible_impl_from = "deny"
60+
wildcard_enum_match_arm = "deny"
61+
unneeded_field_pattern = "deny"
62+
fn_params_excessive_bools = "deny"

ubi-cli/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ path = "src/main.rs"
3131

3232
[package.metadata.release]
3333
tag-name = "v{{version}}"
34+
35+
[lints]
36+
workspace = true

ubi/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,5 @@ rstest.workspace = true
5757
test-log.workspace = true
5858
tokio.workspace = true
5959

60-
[lints.clippy]
61-
fallible_impl_from = "deny"
62-
wildcard_enum_match_arm = "deny"
63-
unneeded_field_pattern = "deny"
64-
fn_params_excessive_bools = "deny"
60+
[lints]
61+
workspace = true

0 commit comments

Comments
 (0)