cargo: switch lint rules from the main crate to Cargo.toml

This commit is contained in:
Victor Mignot 2025-01-01 15:08:42 +01:00
parent a9a047a7de
commit dfe6967f37
Signed by: dala
SSH key fingerprint: SHA256:+3O9MhlDc2tJL0n+E+Myr7nL+74DP9AXdIXHmIqZTkY
2 changed files with 4 additions and 3 deletions

View file

@ -17,3 +17,7 @@ serde = { version = "1.0", features = [ "derive" ] }
log4rs = { version = "1.2.0", features = [ "console_appender", "rolling_file_appender", "compound_policy", "fixed_window_roller", "size_trigger", "gzip", "background_rotation" ] }
log = "0.4.17"
futures = "0.3.25"
[lints.rust]
unsafe_code= "forbid"
missing_docs = "forbid"

View file

@ -3,9 +3,6 @@
//!
//! [`Serenity`]: https://github.com/serenity-rs/serenity
#![deny(missing_docs)]
#![deny(warnings)]
mod client;
mod database;
mod discord;