From 3e46ba14a365540bde7753929be9174a80d55b7c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 6 Nov 2025 20:11:43 +0000 Subject: [PATCH 1/3] chore(deps): update rust crate libc to v0.2.177 --- codex-rs/Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock index b584c85f2..bb06a6176 100644 --- a/codex-rs/Cargo.lock +++ b/codex-rs/Cargo.lock @@ -3515,9 +3515,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.175" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libdbus-sys" From fbfd582414addd75efdf712ee57008add57125c0 Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Fri, 7 Nov 2025 15:03:47 -0800 Subject: [PATCH 2/3] Add rustls-tls feature to reqwest for .use_rustls_tls() support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add rustls-tls feature and disable default features at workspace level to support the .use_rustls_tls() call in default_client.rs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- codex-rs/Cargo.toml | 2 +- codex-rs/core/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index 3de8d47d5..8e377961b 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -161,7 +161,7 @@ rand = "0.9" ratatui = "0.29.0" ratatui-macros = "0.6.0" regex-lite = "0.1.7" -reqwest = "0.12" +reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] } rmcp = { version = "0.8.4", default-features = false } schemars = "0.8.22" seccompiler = "0.5.0" diff --git a/codex-rs/core/Cargo.toml b/codex-rs/core/Cargo.toml index 17a7a1660..fa5577422 100644 --- a/codex-rs/core/Cargo.toml +++ b/codex-rs/core/Cargo.toml @@ -50,7 +50,7 @@ mcp-types = { workspace = true } os_info = { workspace = true } rand = { workspace = true } regex-lite = { workspace = true } -reqwest = { workspace = true, features = ["json", "stream"] } +reqwest = { workspace = true, features = ["json", "stream", "rustls-tls"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } sha1 = { workspace = true } From 7ecae516043c781d3cec2e61679df8c59d1d668a Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Fri, 7 Nov 2025 18:34:14 -0800 Subject: [PATCH 3/3] Fix uninlined_format_args clippy error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- codex-rs/core/src/default_client.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/codex-rs/core/src/default_client.rs b/codex-rs/core/src/default_client.rs index 2b9497476..50cdb680e 100644 --- a/codex-rs/core/src/default_client.rs +++ b/codex-rs/core/src/default_client.rs @@ -387,10 +387,8 @@ mod tests { use regex_lite::escape; let user_agent = get_codex_user_agent(); let originator = escape(originator().value.as_str()); - let pattern = format!( - r"^{}/\d+\.\d+\.\d+ \(Mac OS \d+\.\d+\.\d+; (x86_64|arm64)\) (\S+)$", - originator, - ); + let pattern = + format!(r"^{originator}/\d+\.\d+\.\d+ \(Mac OS \d+\.\d+\.\d+; (x86_64|arm64)\) (\S+)$"); let re = Regex::new(&pattern).unwrap(); assert!(re.is_match(&user_agent)); }