From 21f545d05ca57560485f24cbf78aaf8478a52c5d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 18 Mar 2024 10:32:28 -0500 Subject: [PATCH] fix(parser): Don't stackoverflow on opt-level=0 Fixes #702 --- crates/toml_edit/src/parser/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/toml_edit/src/parser/mod.rs b/crates/toml_edit/src/parser/mod.rs index 70e372c8..f1bbc56a 100644 --- a/crates/toml_edit/src/parser/mod.rs +++ b/crates/toml_edit/src/parser/mod.rs @@ -99,7 +99,7 @@ pub(crate) mod prelude { } #[cfg(not(feature = "unbounded"))] - const LIMIT: usize = 128; + const LIMIT: usize = 100; #[cfg(not(feature = "unbounded"))] impl RecursionCheck {