diff --git a/Cargo.toml b/Cargo.toml index 03efcee..95898e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,14 @@ repository = "https://github.com/newtoallofthis123/lyrics_cli" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lints.clippy] +all = "warn" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +multiple_crate_versions = "allow" +module_name_repetitions = "allow" + [dependencies] inquire = {version = "0.6"} bunt = {version = "0.2"} diff --git a/src/main.rs b/src/main.rs index 83150f0..fd7339a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,3 @@ -#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)] -#![allow(clippy::multiple_crate_versions, clippy::module_name_repetitions)] - use human_panic::setup_panic; mod cli;