1
Fork 0

Move global lints to Cargo.toml.

This commit is contained in:
Bauke 2024-01-26 19:59:25 +01:00
parent f8d9a66c9a
commit 40cb942487
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 7 additions and 3 deletions

View File

@ -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"

View File

@ -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 {