From 6eb417e76cf5736789b87aadf2cc1925df73de1c Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Thu, 7 May 2026 04:39:43 +0300 Subject: [PATCH] Export enum config warning helper --- codex-rs/config/src/lenient.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/config/src/lenient.rs b/codex-rs/config/src/lenient.rs index 3ea30fa0d9..09bdcbe6e3 100644 --- a/codex-rs/config/src/lenient.rs +++ b/codex-rs/config/src/lenient.rs @@ -40,7 +40,7 @@ enum CurrentNodeWarning { /// without changing the TOML that will be deserialized. Startup loading keeps /// these warnings non-blocking; config write paths may use the same signal to /// reject newly provided invalid enum values. -pub(crate) fn enum_value_warnings(value: &TomlValue) -> Vec { +pub fn enum_value_warnings(value: &TomlValue) -> Vec { // Startup warnings should never make config loading fail. If schema // generation or traversal panics, the typed config load still proceeds. catch_unwind(AssertUnwindSafe(|| {