Move the global lints to Cargo.toml.
This commit is contained in:
parent
7a708fb76d
commit
8d419d4799
|
@ -20,3 +20,10 @@ regex = "1.10.2"
|
||||||
[dependencies.clap]
|
[dependencies.clap]
|
||||||
features = ["derive"]
|
features = ["derive"]
|
||||||
version = "4.4.7"
|
version = "4.4.7"
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
missing_docs_in_private_items = "warn"
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
missing_docs = "warn"
|
||||||
|
unsafe_code = "forbid"
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
//!
|
//!
|
||||||
//! > **Bauke's Ad-hoc Utilities.**
|
//! > **Bauke's Ad-hoc Utilities.**
|
||||||
|
|
||||||
#![forbid(unsafe_code)]
|
|
||||||
#![warn(missing_docs, clippy::missing_docs_in_private_items)]
|
|
||||||
|
|
||||||
mod cli;
|
mod cli;
|
||||||
mod logging;
|
mod logging;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue