2024-06-03 06:54:58 +00:00
|
|
|
array-size-threshold = 4096
|
|
|
|
cognitive-complexity-threshold = 94 # TODO reduce me ALARA
|
|
|
|
excessive-nesting-threshold = 11 # TODO reduce me to 4 or 5
|
|
|
|
future-size-threshold = 7745 # TODO reduce me ALARA
|
2024-08-08 17:18:30 +00:00
|
|
|
stack-size-threshold = 196608 # reduce me ALARA
|
2024-12-15 00:05:47 -05:00
|
|
|
too-many-lines-threshold = 780 # TODO reduce me to <= 100
|
2024-06-03 06:54:58 +00:00
|
|
|
type-complexity-threshold = 250 # reduce me to ~200
|
2024-11-14 04:31:29 +00:00
|
|
|
|
|
|
|
disallowed-macros = [
|
2024-12-14 21:58:01 -05:00
|
|
|
{ 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" },
|
2024-11-14 04:31:29 +00:00
|
|
|
]
|
2024-12-15 00:05:47 -05:00
|
|
|
|
|
|
|
disallowed-methods = [
|
2024-12-31 17:19:28 -05:00
|
|
|
{ path = "tokio::spawn", reason = "use and pass conduuwit_core::server::Server::runtime() to spawn from" },
|
2024-12-15 00:05:47 -05:00
|
|
|
]
|