chore: add clippy rules

WIP/draft
drendog 2024-08-21 00:46:11 +02:00
parent f5ebed64ef
commit 0aea66005f
Signed by: dwenya
GPG Key ID: 8DD77074645332D0
1 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,15 @@ keywords = [
] ]
categories = ["gui", "compositor"] 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] [dependencies]
anyhow = "1.0.86" anyhow = "1.0.86"
glutin = { version = "0.32.0", default-features = false, features = [ glutin = { version = "0.32.0", default-features = false, features = [