From 147fff957ab0b43f8b5bd0b239a6d7f0a7f13afe Mon Sep 17 00:00:00 2001 From: Daniil Polyakov Date: Mon, 9 Mar 2026 22:35:54 +0300 Subject: [PATCH] feat: add cargo clippy lints --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 1902c4cc..57aada26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -271,3 +271,12 @@ clippy.suspicious = { level = "deny", priority = -1 } # Style clippy.style = { level = "deny", priority = -1 } + +# Cargo +clippy.cargo = { level = "deny", priority = -1 } + +# Reason: we're not at this stage yet and it will be a pain to create a new crate. +clippy.cargo-common-metadata = "allow" +# Reason: hard to address right now and mostly comes from dependencies +# so the fix would be just a long list of exceptions. +clippy.multiple-crate-versions = "allow"