Author: Danny Milosavljevic Date: 2026-04-23 License: ASL2.0 Subject: Remove [patch.crates-io] and [patch.'ssh://...'] sections. The [patch] sections point to git repositories which are unavailable in an offline build. The vendored crossterm, ratatui, tokio-tungstenite and tungstenite forks are provided as cargo-inputs instead. --- a/codex-rs/Cargo.toml 2026-04-23 22:49:56.599115735 +0000 +++ b/codex-rs/Cargo.toml 2026-04-23 22:49:56.601899894 +0000 @@ -470,16 +470,3 @@ inherits = "test" opt-level = 0 -[patch.crates-io] -# Uncomment to debug local changes. -# ratatui = { path = "../../ratatui" } -crossterm = { git = "https://github.com/nornagon/crossterm", rev = "87db8bfa6dc99427fd3b071681b07fc31c6ce995" } -ratatui = { git = "https://github.com/nornagon/ratatui", rev = "9b2ad1298408c45918ee9f8241a6f95498cdbed2" } -tokio-tungstenite = { git = "https://github.com/openai-oss-forks/tokio-tungstenite", rev = "132f5b39c862e3a970f731d709608b3e6276d5f6" } -tungstenite = { git = "https://github.com/openai-oss-forks/tungstenite-rs", rev = "9200079d3b54a1ff51072e24d81fd354f085156f" } - -# Uncomment to debug local changes. -# rmcp = { path = "../../rust-sdk/crates/rmcp" } - -[patch."ssh://git@github.com/openai-oss-forks/tungstenite-rs.git"] -tungstenite = { git = "https://github.com/openai-oss-forks/tungstenite-rs", rev = "9200079d3b54a1ff51072e24d81fd354f085156f" }