From 0ae7de1aa3aab6604812d07818779bf533f4b193 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 13 Oct 2025 10:34:42 +0200 Subject: [PATCH] Cargo.toml: remove lints.clippy section --- Cargo.toml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 78329e5e6..c55840a56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -616,25 +616,10 @@ strip = true inherits = "release" debug = true -[lints.clippy] -multiple_crate_versions = "allow" -cargo_common_metadata = "allow" -missing_panics_doc = "allow" -# TODO remove when https://github.com/rust-lang/rust-clippy/issues/13774 is fixed -large_stack_arrays = "allow" - -needless_pass_by_value = "warn" -semicolon_if_nothing_returned = "warn" -single_char_pattern = "warn" -explicit_iter_loop = "warn" -if_not_else = "warn" - -all = { level = "deny", priority = -1 } -cargo = { level = "warn", priority = -1 } -pedantic = { level = "deny", priority = -1 } +[lints] +workspace = true # This is the linting configuration for all crates. -# Eventually the clippy settings from the `[lints]` section should be moved here. # In order to use these, all crates have `[lints] workspace = true` section. [workspace.lints.rust] # Allow "fuzzing" as a "cfg" condition name