12
clippy.toml
12
clippy.toml
@@ -8,13 +8,13 @@ type-complexity-threshold = 250 # reduce me to ~200
|
||||
large-error-threshold = 256 # TODO reduce me ALARA
|
||||
|
||||
disallowed-macros = [
|
||||
{ path = "log::error", reason = "use conduwuit_core::error" },
|
||||
{ path = "log::warn", reason = "use conduwuit_core::warn" },
|
||||
{ path = "log::info", reason = "use conduwuit_core::info" },
|
||||
{ path = "log::debug", reason = "use conduwuit_core::debug" },
|
||||
{ path = "log::trace", reason = "use conduwuit_core::trace" },
|
||||
{ path = "log::error", reason = "use tuwunel_core::error" },
|
||||
{ path = "log::warn", reason = "use tuwunel_core::warn" },
|
||||
{ path = "log::info", reason = "use tuwunel_core::info" },
|
||||
{ path = "log::debug", reason = "use tuwunel_core::debug" },
|
||||
{ path = "log::trace", reason = "use tuwunel_core::trace" },
|
||||
]
|
||||
|
||||
disallowed-methods = [
|
||||
{ path = "tokio::spawn", reason = "use and pass conduuwit_core::server::Server::runtime() to spawn from" },
|
||||
{ path = "tokio::spawn", reason = "use and pass tuwunel_core::server::Server::runtime() to spawn from" },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user