diff --git a/Cargo.toml b/Cargo.toml index 5cc9431..09c6923 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,11 +8,18 @@ license = "MIT" [lints.rust] unsafe_code = "forbid" +missing_debug_implementations = "warn" +unreachable_pub = "warn" +missing_docs = "warn" [lints.clippy] all = { level = "warn", priority = -1 } pedantic = { level = "warn", priority = -1 } +allow_attributes = "warn" allow_attributes_without_reason = "warn" +mod_module_files = "warn" +wildcard_enum_match_arm = "warn" +iter_over_hash_type = "warn" cognitive_complexity = "warn" excessive_nesting = "warn" dbg_macro = "deny" diff --git a/src/main.rs b/src/main.rs index a120fb0..2b38341 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +//! Template binary that prints a greeting. + fn main() { println!("{}", greeting()); }