Skip to content

Commit

Permalink
Moved lints to Cargo.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
orium committed Nov 28, 2023
1 parent a5c55a4 commit 34b1198
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,12 @@ dashmap = "5.4.0"
[dev-dependencies]
rand = "0.8.1"
indoc = "2.0.3"

[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
correctness = "deny"

inline-always = "allow"
match-bool = "allow"
needless-raw-string-hashes = "allow"
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
*/

#![cfg_attr(feature = "fatal-warnings", deny(warnings))]
#![deny(clippy::correctness)]
#![warn(clippy::pedantic)]
#![allow(clippy::inline_always)]
#![allow(clippy::match_bool)]
// Note: If you change this remember to update `README.md`. To do so run `cargo rdme`.
//! `dirty-debug` offers a quick and easy way to log message to a file (or tcp endpoint) for
//! temporary debugging.
Expand Down

0 comments on commit 34b1198

Please sign in to comment.