diff --git a/Cargo.toml b/Cargo.toml index 27eb954..d4d0935 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,13 @@ edition = "2021" name = "steam-rss" path = "source/main.rs" +[lints.clippy] +missing_docs_in_private_items = "warn" + +[lints.rust] +missing_docs = "warn" +unsafe_code = "forbid" + [dependencies] color-eyre = "0.6.2" opml = "1.1.6" diff --git a/source/main.rs b/source/main.rs index f5d87e2..f1035a0 100644 --- a/source/main.rs +++ b/source/main.rs @@ -17,9 +17,6 @@ //! //! > **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 {