cargo: switch lint rules from the main crate to Cargo.toml
This commit is contained in:
parent
a9a047a7de
commit
dfe6967f37
2 changed files with 4 additions and 3 deletions
|
@ -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" ] }
|
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"
|
log = "0.4.17"
|
||||||
futures = "0.3.25"
|
futures = "0.3.25"
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unsafe_code= "forbid"
|
||||||
|
missing_docs = "forbid"
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
//!
|
//!
|
||||||
//! [`Serenity`]: https://github.com/serenity-rs/serenity
|
//! [`Serenity`]: https://github.com/serenity-rs/serenity
|
||||||
|
|
||||||
#![deny(missing_docs)]
|
|
||||||
#![deny(warnings)]
|
|
||||||
|
|
||||||
mod client;
|
mod client;
|
||||||
mod database;
|
mod database;
|
||||||
mod discord;
|
mod discord;
|
||||||
|
|
Loading…
Reference in a new issue