Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: remove clap dependency from core crate (#860)

Michael Bolin9fdf2fa06638
diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock
index 9e5cd85065..aa22911ba3 100644
--- a/codex-rs/Cargo.lock
+++ b/codex-rs/Cargo.lock
@@ -516,7 +516,6 @@ dependencies = [
"async-channel",
"base64 0.21.7",
"bytes",
- "clap",
"codex-apply-patch",
"codex-mcp-client",
"dirs",
diff --git a/codex-rs/core/Cargo.toml b/codex-rs/core/Cargo.toml
index 3319ef1014..1a8d00cb9a 100644
--- a/codex-rs/core/Cargo.toml
+++ b/codex-rs/core/Cargo.toml
@@ -12,7 +12,6 @@ anyhow = "1"
async-channel = "2.3.1"
base64 = "0.21"
bytes = "1.10.1"
-clap = { version = "4", features = ["derive", "wrap_help"], optional = true }
codex-apply-patch = { path = "../apply-patch" }
codex-mcp-client = { path = "../mcp-client" }
dirs = "6"