Move global lints to Cargo.toml.
This commit is contained in:
parent
f8d9a66c9a
commit
40cb942487
|
@ -11,6 +11,13 @@ edition = "2021"
|
||||||
name = "steam-rss"
|
name = "steam-rss"
|
||||||
path = "source/main.rs"
|
path = "source/main.rs"
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
missing_docs_in_private_items = "warn"
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
missing_docs = "warn"
|
||||||
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
color-eyre = "0.6.2"
|
color-eyre = "0.6.2"
|
||||||
opml = "1.1.6"
|
opml = "1.1.6"
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
//!
|
//!
|
||||||
//! > **Get RSS feeds for Steam games.**
|
//! > **Get RSS feeds for Steam games.**
|
||||||
|
|
||||||
#![forbid(unsafe_code)]
|
|
||||||
#![warn(missing_docs, clippy::missing_docs_in_private_items)]
|
|
||||||
|
|
||||||
use std::{thread::sleep, time::Duration};
|
use std::{thread::sleep, time::Duration};
|
||||||
|
|
||||||
use {
|
use {
|
||||||
|
|
Loading…
Reference in New Issue