diff --git a/src/api/mod.rs b/src/api/mod.rs index 8ef237171..46db297ee 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -1,5 +1,6 @@ #![type_length_limit = "262144"] //TODO: REDUCE ME #![expect(clippy::toplevel_ref_arg)] +#![expect(clippy::duration_suboptimal_units)] // remove after MSRV 1.91 pub mod client; pub mod router; diff --git a/src/main/lib.rs b/src/main/lib.rs index 228740670..e66ad5bd7 100644 --- a/src/main/lib.rs +++ b/src/main/lib.rs @@ -1,4 +1,5 @@ #![type_length_limit = "4096"] //TODO: reduce me +#![expect(clippy::duration_suboptimal_units)] // remove after MSRV 1.91 pub mod args; pub mod logging; diff --git a/src/router/mod.rs b/src/router/mod.rs index 6a2c2193a..0f9a99583 100644 --- a/src/router/mod.rs +++ b/src/router/mod.rs @@ -1,4 +1,5 @@ #![type_length_limit = "32768"] //TODO: reduce me +#![expect(clippy::duration_suboptimal_units)] // remove after MSRV 1.91 mod layers; mod request; diff --git a/src/service/mod.rs b/src/service/mod.rs index ce58b8fab..c21ae1224 100644 --- a/src/service/mod.rs +++ b/src/service/mod.rs @@ -1,6 +1,7 @@ #![recursion_limit = "256"] #![type_length_limit = "98304"] #![expect(refining_impl_trait)] +#![expect(clippy::duration_suboptimal_units)] // remove after MSRV 1.91 mod manager; mod migrations;