From 0aea66005f0ed689d015919287d137806ed62471 Mon Sep 17 00:00:00 2001 From: drendog Date: Wed, 21 Aug 2024 00:46:11 +0200 Subject: [PATCH] chore: add clippy rules --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index acdbd04..1b20ebf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,15 @@ keywords = [ ] categories = ["gui", "compositor"] +[lints.clippy] +all = { level = "warn", priority = -1 } +cargo = { level = "warn", priority = -1 } +nursery = { level = "warn", priority = -1 } +pedantic = { level = "warn", priority = -1 } +clone_on_ref_ptr = "warn" +multiple-crate-versions = "allow" +module_name_repetitions = "allow" + [dependencies] anyhow = "1.0.86" glutin = { version = "0.32.0", default-features = false, features = [