From a4f589f47549dbc1331a0d645798969f22b760f0 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 27 Aug 2025 00:08:18 +0000 Subject: [PATCH] Remove unnecessary recursion_limit. Reduce type_length_limits. Signed-off-by: Jason Volk --- src/admin/mod.rs | 1 - src/api/mod.rs | 2 +- src/main/main.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/admin/mod.rs b/src/admin/mod.rs index 2792a35d..34a70470 100644 --- a/src/admin/mod.rs +++ b/src/admin/mod.rs @@ -1,4 +1,3 @@ -#![recursion_limit = "192"] #![allow(clippy::wildcard_imports)] #![allow(clippy::enum_glob_use)] #![allow(clippy::too_many_arguments)] diff --git a/src/api/mod.rs b/src/api/mod.rs index 0409b2d8..008ab04a 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -1,4 +1,4 @@ -#![type_length_limit = "262144"] //TODO: REDUCE ME +#![type_length_limit = "65536"] //TODO: REDUCE ME #![allow(clippy::toplevel_ref_arg)] pub mod client; diff --git a/src/main/main.rs b/src/main/main.rs index 419eef89..9d6404e0 100644 --- a/src/main/main.rs +++ b/src/main/main.rs @@ -1,4 +1,4 @@ -#![type_length_limit = "49152"] //TODO: reduce me +#![type_length_limit = "4096"] //TODO: reduce me pub(crate) mod clap; mod logging;