Lightweight coding agent that runs in your terminal
Rust
feat: Run cargo shear during CI (#3338)
jif-oaia9c68ea270f0
diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.ymlindex 875441c536..e774489301 100644--- a/.github/workflows/rust-ci.yml+++ b/.github/workflows/rust-ci.yml@@ -63,6 +63,24 @@ jobs:- name: cargo fmtrun: cargo fmt -- --config imports_granularity=Item --check+ cargo_shear:+ name: cargo shear+ runs-on: ubuntu-24.04+ needs: changed+ if: ${{ needs.changed.outputs.codex == 'true' || needs.changed.outputs.workflows == 'true' || github.event_name == 'push' }}+ defaults:+ run:+ working-directory: codex-rs+ steps:+ - uses: actions/checkout@v5+ - uses: dtolnay/[email protected]+ - uses: taiki-e/install-action@v2+ with:+ tool: cargo-shear+ version: 1.5.1+ - name: cargo shear+ run: cargo shear+# --- CI to validate on different os/targets --------------------------------lint_build_test:name: ${{ matrix.runner }} - ${{ matrix.target }}${{ matrix.profile == 'release' && ' (release)' || '' }}@@ -182,7 +200,7 @@ jobs:# --- Gatherer job that you mark as the ONLY required status -----------------results:name: CI results (required)- needs: [changed, general, lint_build_test]+ needs: [changed, general, cargo_shear, lint_build_test]if: always()runs-on: ubuntu-24.04steps:@@ -190,6 +208,7 @@ jobs:shell: bashrun: |echo "general: ${{ needs.general.result }}"+ echo "shear : ${{ needs.cargo_shear.result }}"echo "matrix : ${{ needs.lint_build_test.result }}"# If nothing relevant changed (PR touching only root README, etc.),@@ -201,4 +220,5 @@ jobs:# Otherwise require the jobs to have succeeded[[ '${{ needs.general.result }}' == 'success' ]] || { echo 'general failed'; exit 1; }+ [[ '${{ needs.cargo_shear.result }}' == 'success' ]] || { echo 'cargo_shear failed'; exit 1; }[[ '${{ needs.lint_build_test.result }}' == 'success' ]] || { echo 'matrix failed'; exit 1; }diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lockindex ad29d0431f..e76ea6bb89 100644--- a/codex-rs/Cargo.lock+++ b/codex-rs/Cargo.lock@@ -48,15 +48,6 @@ dependencies = ["memchr",]-[[package]]-name = "aligned-vec"-version = "0.6.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b"-dependencies = [- "equator",-]-[[package]]name = "allocative"version = "0.3.4"@@ -180,12 +171,6 @@ version = "1.0.99"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100"-[[package]]-name = "arbitrary"-version = "1.4.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"-[[package]]name = "arboard"version = "3.6.0"@@ -206,17 +191,6 @@ dependencies = ["x11rb",]-[[package]]-name = "arg_enum_proc_macro"-version = "0.3.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.104",-]-[[package]]name = "arrayvec"version = "0.7.6"@@ -310,29 +284,6 @@ version = "1.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"-[[package]]-name = "av1-grain"-version = "0.2.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4f3efb2ca85bc610acfa917b5aaa36f3fcbebed5b3182d7f877b02531c4b80c8"-dependencies = [- "anyhow",- "arrayvec",- "log",- "nom",- "num-rational",- "v_frame",-]--[[package]]-name = "avif-serialize"-version = "0.8.5"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2ea8ef51aced2b9191c08197f55450d830876d9933f8f48a429b354f1d496b42"-dependencies = [- "arrayvec",-]-[[package]]name = "backtrace"version = "0.3.75"@@ -348,12 +299,6 @@ dependencies = ["windows-targets 0.52.6",]-[[package]]-name = "base64"-version = "0.21.7"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"-[[package]]name = "base64"version = "0.22.1"@@ -390,12 +335,6 @@ version = "0.6.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"-[[package]]-name = "bit_field"-version = "0.10.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61"-[[package]]name = "bitflags"version = "1.3.2"@@ -408,12 +347,6 @@ version = "2.9.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"-[[package]]-name = "bitstream-io"-version = "2.6.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6099cdc01846bc367c4e7dd630dc5966dccf36b652fae7a74e17b640411a91b2"-[[package]]name = "block-buffer"version = "0.10.4"@@ -434,12 +367,6 @@ dependencies = ["serde",]-[[package]]-name = "built"-version = "0.7.7"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "56ed6191a7e78c36abdb16ab65341eefd73d64d303fffccdbb00d51e4205967b"-[[package]]name = "bumpalo"version = "3.19.0"@@ -491,8 +418,6 @@ version = "1.2.30"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7"dependencies = [- "jobserver",- "libc","shlex",]@@ -502,16 +427,6 @@ version = "1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"-[[package]]-name = "cfg-expr"-version = "0.15.8"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02"-dependencies = [- "smallvec",- "target-lexicon",-]-[[package]]name = "cfg-if"version = "1.0.1"@@ -656,7 +571,6 @@ dependencies = ["codex-common","codex-core","codex-protocol",- "reqwest","serde","serde_json","tempfile",@@ -694,7 +608,7 @@ dependencies = ["codex-core","codex-protocol","serde",- "toml 0.9.5",+ "toml",][[package]]@@ -704,7 +618,7 @@ dependencies = ["anyhow","assert_cmd","async-channel",- "base64 0.22.1",+ "base64","bytes","chrono","codex-apply-patch",@@ -719,7 +633,6 @@ dependencies = ["libc","maplit","mcp-types",- "mime_guess","openssl-sys","os_info","portable-pty",@@ -730,7 +643,6 @@ dependencies = ["reqwest","seccompiler","serde",- "serde_bytes","serde_json","sha1","shlex",@@ -742,7 +654,7 @@ dependencies = ["tokio","tokio-test","tokio-util",- "toml 0.9.5",+ "toml","toml_edit 0.23.4","tracing","tree-sitter",@@ -750,7 +662,6 @@ dependencies = ["uuid","walkdir","which",- "whoami","wildmatch","wiremock",]@@ -766,7 +677,6 @@ dependencies = ["codex-arg0","codex-common","codex-core",- "codex-login","codex-ollama","codex-protocol","core_test_support",@@ -819,9 +729,7 @@ dependencies = [name = "codex-linux-sandbox"version = "0.0.0"dependencies = [- "anyhow","clap",- "codex-common","codex-core","landlock","libc",@@ -834,18 +742,16 @@ dependencies = [name = "codex-login"version = "0.0.0"dependencies = [- "base64 0.22.1",+ "base64","chrono","codex-core","codex-protocol",- "pretty_assertions","rand 0.8.5","reqwest","serde","serde_json","sha2","tempfile",- "thiserror 2.0.16","tiny_http","tokio","url",@@ -884,11 +790,9 @@ dependencies = ["serde","serde_json","shlex",- "strum_macros 0.27.2","tempfile","tokio",- "tokio-test",- "toml 0.9.5",+ "toml","tracing","tracing-subscriber","uuid",@@ -905,9 +809,7 @@ dependencies = ["futures","reqwest","serde_json",- "tempfile","tokio",- "toml 0.9.5","tracing","wiremock",]@@ -916,14 +818,13 @@ dependencies = [name = "codex-protocol"version = "0.0.0"dependencies = [- "base64 0.22.1",+ "base64","icu_decimal","icu_locale_core","mcp-types","mime_guess","pretty_assertions","serde",- "serde_bytes","serde_json","serde_with","strum 0.27.2",@@ -951,7 +852,7 @@ dependencies = ["anyhow","arboard","async-stream",- "base64 0.22.1",+ "base64","chrono","clap","codex-ansi-escape",@@ -977,9 +878,7 @@ dependencies = ["pretty_assertions","rand 0.9.2","ratatui",- "ratatui-image","regex-lite",- "reqwest","serde","serde_json","shlex",@@ -993,12 +892,10 @@ dependencies = ["tracing","tracing-appender","tracing-subscriber",- "tui-input","tui-markdown","unicode-segmentation","unicode-width 0.1.14","url",- "uuid","vt100",]@@ -1029,12 +926,6 @@ dependencies = ["tracing-error",]-[[package]]-name = "color_quant"-version = "1.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"-[[package]]name = "colorchoice"version = "1.0.4"@@ -1596,26 +1487,6 @@ dependencies = ["log",]-[[package]]-name = "equator"-version = "0.4.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc"-dependencies = [- "equator-macro",-]--[[package]]-name = "equator-macro"-version = "0.4.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.104",-]-[[package]]name = "equivalent"version = "1.0.2"@@ -1679,21 +1550,6 @@ dependencies = ["pin-project-lite",]-[[package]]-name = "exr"-version = "1.73.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f83197f59927b46c04a183a619b7c29df34e63e63c7869320862268c0ef687e0"-dependencies = [- "bit_field",- "half",- "lebe",- "miniz_oxide",- "rayon-core",- "smallvec",- "zune-inflate",-]-[[package]]name = "eyre"version = "0.6.12"@@ -1989,16 +1845,6 @@ dependencies = ["wasi 0.14.2+wasi-0.2.4",]-[[package]]-name = "gif"-version = "0.13.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4ae047235e33e2829703574b54fdec96bfbad892062d97fed2f76022287de61b"-dependencies = [- "color_quant",- "weezl",-]-[[package]]name = "gimli"version = "0.31.1"@@ -2214,7 +2060,7 @@ version = "0.1.16"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e"dependencies = [- "base64 0.22.1",+ "base64","bytes","futures-channel","futures-core",@@ -2246,7 +2092,7 @@ dependencies = ["js-sys","log","wasm-bindgen",- "windows-core 0.61.2",+ "windows-core",][[package]]@@ -2389,12 +2235,6 @@ dependencies = ["zerovec",]-[[package]]-name = "icy_sixel"-version = "0.1.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ccc0a9c4770bc47b0a933256a496cfb8b6531f753ea9bccb19c6dff0ff7273fc"-[[package]]name = "ident_case"version = "1.0.1"@@ -2446,38 +2286,14 @@ checksum = "529feb3e6769d234375c4cf1ee2ce713682b8e76538cb13f9fc23e1400a591e7"dependencies = ["bytemuck","byteorder-lite",- "color_quant",- "exr",- "gif",- "image-webp","moxcms","num-traits","png",- "qoi",- "ravif",- "rayon",- "rgb","tiff","zune-core","zune-jpeg",]-[[package]]-name = "image-webp"-version = "0.2.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f6970fe7a5300b4b42e62c52efa0187540a5bef546c60edaf554ef595d2e6f0b"-dependencies = [- "byteorder-lite",- "quick-error",-]--[[package]]-name = "imgref"-version = "1.11.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d0263a3d970d5c054ed9312c0057b4f3bde9c0b33836d3637361d4a9e6e7a408"-[[package]]name = "indenter"version = "0.3.3"@@ -2536,17 +2352,6 @@ dependencies = ["syn 2.0.104",]-[[package]]-name = "interpolate_name"-version = "0.2.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.104",-]-[[package]]name = "inventory"version = "0.3.20"@@ -2615,15 +2420,6 @@ dependencies = ["either",]-[[package]]-name = "itertools"-version = "0.12.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"-dependencies = [- "either",-]-[[package]]name = "itertools"version = "0.13.0"@@ -2694,16 +2490,6 @@ version = "0.3.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"-[[package]]-name = "jobserver"-version = "0.1.33"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a"-dependencies = [- "getrandom 0.3.3",- "libc",-]-[[package]]name = "js-sys"version = "0.3.77"@@ -2762,28 +2548,12 @@ version = "1.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"-[[package]]-name = "lebe"-version = "0.5.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"-[[package]]name = "libc"version = "0.2.175"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"-[[package]]-name = "libfuzzer-sys"-version = "0.4.10"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5037190e1f70cbeef565bd267599242926f724d3b8a9f510fd7e0b540cfa4404"-dependencies = [- "arbitrary",- "cc",-]-[[package]]name = "libredox"version = "0.1.6"@@ -2792,7 +2562,6 @@ checksum = "4488594b9328dee448adb906d8b126d9b7deb7cf5c22161ee591610bb1be83c0"dependencies = ["bitflags 2.9.1","libc",- "redox_syscall",][[package]]@@ -2858,15 +2627,6 @@ dependencies = ["syn 1.0.109",]-[[package]]-name = "loop9"-version = "0.1.5"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0fae87c125b03c1d2c0150c90365d7d6bcc53fb73a9acaef207d2d065860f062"-dependencies = [- "imgref",-]-[[package]]name = "lru"version = "0.12.5"@@ -2904,16 +2664,6 @@ dependencies = ["regex-automata 0.1.10",]-[[package]]-name = "maybe-rayon"-version = "0.1.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519"-dependencies = [- "cfg-if",- "rayon",-]-[[package]]name = "mcp-types"version = "0.0.0"@@ -2929,17 +2679,13 @@ version = "0.0.0"dependencies = ["anyhow","assert_cmd",- "codex-core","codex-mcp-server","codex-protocol","mcp-types","pretty_assertions","serde","serde_json",- "shlex",- "tempfile","tokio",- "uuid","wiremock",]@@ -3081,12 +2827,6 @@ dependencies = ["minimal-lexical",]-[[package]]-name = "noop_proc_macro"-version = "0.3.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"-[[package]]name = "normalize-line-endings"version = "0.3.0"@@ -3138,17 +2878,6 @@ version = "0.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"-[[package]]-name = "num-derive"-version = "0.4.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.104",-]-[[package]]name = "num-integer"version = "0.1.46"@@ -3158,17 +2887,6 @@ dependencies = ["num-traits",]-[[package]]-name = "num-rational"-version = "0.4.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"-dependencies = [- "num-bigint",- "num-integer",- "num-traits",-]-[[package]]name = "num-traits"version = "0.2.19"@@ -3511,7 +3229,7 @@ version = "1.7.4"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "3af6b589e163c5a788fab00ce0c0366f6efbb9959c2f9874b224936af7fce7e1"dependencies = [- "base64 0.22.1",+ "base64","indexmap 2.10.0","quick-xml","serde",@@ -3656,25 +3374,6 @@ dependencies = ["unicode-ident",]-[[package]]-name = "profiling"-version = "1.0.17"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773"-dependencies = [- "profiling-procmacros",-]--[[package]]-name = "profiling-procmacros"-version = "1.0.17"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "52717f9a02b6965224f95ca2a81e2e0c5c43baacd28ca057577988930b6c3d5b"-dependencies = [- "quote",- "syn 2.0.104",-]-[[package]]name = "pulldown-cmark"version = "0.13.0"@@ -3703,15 +3402,6 @@ dependencies = ["num-traits",]-[[package]]-name = "qoi"-version = "0.4.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"-dependencies = [- "bytemuck",-]-[[package]]name = "quick-error"version = "2.0.1"@@ -3831,92 +3521,6 @@ dependencies = ["unicode-width 0.2.1",]-[[package]]-name = "ratatui-image"-version = "8.0.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e8fe71c551c67f34e4fa49797227f614cd064b82855d7b72d424e40d08ec0542"-dependencies = [- "base64 0.21.7",- "icy_sixel",- "image",- "rand 0.8.5",- "ratatui",- "rustix 0.38.44",- "thiserror 1.0.69",- "windows",-]--[[package]]-name = "rav1e"-version = "0.7.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "cd87ce80a7665b1cce111f8a16c1f3929f6547ce91ade6addf4ec86a8dda5ce9"-dependencies = [- "arbitrary",- "arg_enum_proc_macro",- "arrayvec",- "av1-grain",- "bitstream-io",- "built",- "cfg-if",- "interpolate_name",- "itertools 0.12.1",- "libc",- "libfuzzer-sys",- "log",- "maybe-rayon",- "new_debug_unreachable",- "noop_proc_macro",- "num-derive",- "num-traits",- "once_cell",- "paste",- "profiling",- "rand 0.8.5",- "rand_chacha 0.3.1",- "simd_helpers",- "system-deps",- "thiserror 1.0.69",- "v_frame",- "wasm-bindgen",-]--[[package]]-name = "ravif"-version = "0.11.20"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5825c26fddd16ab9f515930d49028a630efec172e903483c94796cfe31893e6b"-dependencies = [- "avif-serialize",- "imgref",- "loop9",- "quick-error",- "rav1e",- "rayon",- "rgb",-]--[[package]]-name = "rayon"-version = "1.10.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"-dependencies = [- "either",- "rayon-core",-]--[[package]]-name = "rayon-core"-version = "1.12.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"-dependencies = [- "crossbeam-deque",- "crossbeam-utils",-]-[[package]]name = "redox_syscall"version = "0.5.15"@@ -4030,7 +3634,7 @@ version = "0.12.23"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d429f34c8092b2d42c7c93cec323bb4adeb7c67698f70839adec842ec10c7ceb"dependencies = [- "base64 0.22.1",+ "base64","bytes","encoding_rs","futures-channel",@@ -4068,12 +3672,6 @@ dependencies = ["web-sys",]-[[package]]-name = "rgb"-version = "0.8.52"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0c6a884d2998352bb4daf0183589aec883f16a6da1f4dde84d8e2e9a5409a1ce"-[[package]]name = "ring"version = "0.17.14"@@ -4387,15 +3985,6 @@ dependencies = ["serde_derive",]-[[package]]-name = "serde_bytes"-version = "0.11.17"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96"-dependencies = [- "serde",-]-[[package]]name = "serde_derive"version = "1.0.219"@@ -4442,15 +4031,6 @@ dependencies = ["syn 2.0.104",]-[[package]]-name = "serde_spanned"-version = "0.6.9"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"-dependencies = [- "serde",-]-[[package]]name = "serde_spanned"version = "1.0.0"@@ -4478,7 +4058,7 @@ version = "3.14.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5"dependencies = [- "base64 0.22.1",+ "base64","chrono","hex","indexmap 1.9.3",@@ -4604,15 +4184,6 @@ version = "0.3.7"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"-[[package]]-name = "simd_helpers"-version = "0.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6"-dependencies = [- "quote",-]-[[package]]name = "simdutf8"version = "0.1.5"@@ -4940,25 +4511,6 @@ dependencies = ["libc",]-[[package]]-name = "system-deps"-version = "6.2.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349"-dependencies = [- "cfg-expr",- "heck",- "pkg-config",- "toml 0.8.23",- "version-compare",-]--[[package]]-name = "target-lexicon"-version = "0.12.16"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"-[[package]]name = "tempfile"version = "3.20.0"@@ -5243,18 +4795,6 @@ dependencies = ["tokio",]-[[package]]-name = "toml"-version = "0.8.23"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"-dependencies = [- "serde",- "serde_spanned 0.6.9",- "toml_datetime 0.6.11",- "toml_edit 0.22.27",-]-[[package]]name = "toml"version = "0.9.5"@@ -5263,7 +4803,7 @@ checksum = "75129e1dc5000bfbaa9fee9d1b21f974f9fbad9daec557a521ee6e080825f6e8"dependencies = ["indexmap 2.10.0","serde",- "serde_spanned 1.0.0",+ "serde_spanned","toml_datetime 0.7.0","toml_parser","toml_writer",@@ -5275,9 +4815,6 @@ name = "toml_datetime"version = "0.6.11"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"-dependencies = [- "serde",-][[package]]name = "toml_datetime"@@ -5295,8 +4832,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"dependencies = ["indexmap 2.10.0",- "serde",- "serde_spanned 0.6.9","toml_datetime 0.6.11","winnow",]@@ -5518,16 +5053,6 @@ dependencies = ["termcolor",]-[[package]]-name = "tui-input"-version = "0.14.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "911e93158bf80bbc94bad533b2b16e3d711e1132d69a6a6980c3920a63422c19"-dependencies = [- "ratatui",- "unicode-width 0.2.1",-]-[[package]]name = "tui-markdown"version = "0.3.5"@@ -5651,17 +5176,6 @@ dependencies = ["wasm-bindgen",]-[[package]]-name = "v_frame"-version = "0.3.9"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2"-dependencies = [- "aligned-vec",- "num-traits",- "wasm-bindgen",-]-[[package]]name = "valuable"version = "0.1.1"@@ -5674,12 +5188,6 @@ version = "0.2.15"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"-[[package]]-name = "version-compare"-version = "0.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b"-[[package]]name = "version_check"version = "0.9.5"@@ -5750,12 +5258,6 @@ dependencies = ["wit-bindgen-rt",]-[[package]]-name = "wasite"-version = "0.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b"-[[package]]name = "wasm-bindgen"version = "0.2.100"@@ -5884,17 +5386,6 @@ dependencies = ["winsafe",]-[[package]]-name = "whoami"-version = "1.6.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5d4a4db5077702ca3015d3d02d74974948aba2ad9e12ab7df718ee64ccd7e97d"-dependencies = [- "libredox",- "wasite",- "web-sys",-]-[[package]]name = "wildmatch"version = "2.4.0"@@ -5932,51 +5423,17 @@ version = "0.4.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"-[[package]]-name = "windows"-version = "0.58.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6"-dependencies = [- "windows-core 0.58.0",- "windows-targets 0.52.6",-]--[[package]]-name = "windows-core"-version = "0.58.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"-dependencies = [- "windows-implement 0.58.0",- "windows-interface 0.58.0",- "windows-result 0.2.0",- "windows-strings 0.1.0",- "windows-targets 0.52.6",-]-[[package]]name = "windows-core"version = "0.61.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"dependencies = [- "windows-implement 0.60.0",- "windows-interface 0.59.1",+ "windows-implement",+ "windows-interface","windows-link",- "windows-result 0.3.4",- "windows-strings 0.4.2",-]--[[package]]-name = "windows-implement"-version = "0.58.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.104",+ "windows-result",+ "windows-strings",][[package]]@@ -5990,17 +5447,6 @@ dependencies = ["syn 2.0.104",]-[[package]]-name = "windows-interface"-version = "0.58.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.104",-]-[[package]]name = "windows-interface"version = "0.59.1"@@ -6025,17 +5471,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e"dependencies = ["windows-link",- "windows-result 0.3.4",- "windows-strings 0.4.2",-]--[[package]]-name = "windows-result"-version = "0.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"-dependencies = [- "windows-targets 0.52.6",+ "windows-result",+ "windows-strings",][[package]]@@ -6047,16 +5484,6 @@ dependencies = ["windows-link",]-[[package]]-name = "windows-strings"-version = "0.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"-dependencies = [- "windows-result 0.2.0",- "windows-targets 0.52.6",-]-[[package]]name = "windows-strings"version = "0.4.2"@@ -6375,7 +5802,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "08db1edfb05d9b3c1542e521aea074442088292f00b5f28e435c714a98f85031"dependencies = ["assert-json-diff",- "base64 0.22.1",+ "base64","deadpool","futures","http",@@ -6548,15 +5975,6 @@ version = "0.4.12"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "3f423a2c17029964870cfaabb1f13dfab7d092a62a29a89264f4d36990ca414a"-[[package]]-name = "zune-inflate"-version = "0.2.54"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02"-dependencies = [- "simd-adler32",-]-[[package]]name = "zune-jpeg"version = "0.4.19"diff --git a/codex-rs/chatgpt/Cargo.toml b/codex-rs/chatgpt/Cargo.tomlindex 78ec5599e7..db6e754f90 100644--- a/codex-rs/chatgpt/Cargo.toml+++ b/codex-rs/chatgpt/Cargo.toml@@ -12,7 +12,6 @@ clap = { version = "4", features = ["derive"] }codex-common = { path = "../common", features = ["cli"] }codex-core = { path = "../core" }codex-protocol = { path = "../protocol" }-reqwest = { version = "0.12", features = ["json", "stream"] }serde = { version = "1", features = ["derive"] }serde_json = "1"tokio = { version = "1", features = ["full"] }diff --git a/codex-rs/core/Cargo.toml b/codex-rs/core/Cargo.tomlindex b5c7537ece..b706afb2f0 100644--- a/codex-rs/core/Cargo.toml+++ b/codex-rs/core/Cargo.toml@@ -26,14 +26,12 @@ eventsource-stream = "0.2.3"futures = "0.3"libc = "0.2.175"mcp-types = { path = "../mcp-types" }-mime_guess = "2.0"os_info = "3.12.0"portable-pty = "0.9.0"rand = "0.9"regex-lite = "0.1.7"reqwest = { version = "0.12", features = ["json", "stream"] }serde = { version = "1", features = ["derive"] }-serde_bytes = "0.11"serde_json = "1"sha1 = "0.10.6"shlex = "1.3.0"@@ -56,7 +54,6 @@ tracing = { version = "0.1.41", features = ["log"] }tree-sitter = "0.25.9"tree-sitter-bash = "0.25.0"uuid = { version = "1", features = ["serde", "v4"] }-whoami = "1.6.1"wildmatch = "2.4.0"@@ -85,3 +82,6 @@ tempfile = "3"tokio-test = "0.4"walkdir = "2.5.0"wiremock = "0.6"++[package.metadata.cargo-shear]+ignored = ["openssl-sys"]diff --git a/codex-rs/exec/Cargo.toml b/codex-rs/exec/Cargo.tomlindex a270b587c2..89dc3951e7 100644--- a/codex-rs/exec/Cargo.toml+++ b/codex-rs/exec/Cargo.toml@@ -25,7 +25,6 @@ codex-common = { path = "../common", features = ["sandbox_summary",] }codex-core = { path = "../core" }-codex-login = { path = "../login" }codex-ollama = { path = "../ollama" }codex-protocol = { path = "../protocol" }owo-colors = "4.2.0"diff --git a/codex-rs/linux-sandbox/Cargo.toml b/codex-rs/linux-sandbox/Cargo.tomlindex d769fae2c6..e7432357b7 100644--- a/codex-rs/linux-sandbox/Cargo.toml+++ b/codex-rs/linux-sandbox/Cargo.toml@@ -15,9 +15,7 @@ path = "src/lib.rs"workspace = true[target.'cfg(target_os = "linux")'.dependencies]-anyhow = "1"clap = { version = "4", features = ["derive"] }-codex-common = { path = "../common", features = ["cli"] }codex-core = { path = "../core" }landlock = "0.4.1"libc = "0.2.175"diff --git a/codex-rs/login/Cargo.toml b/codex-rs/login/Cargo.tomlindex 154924da0c..1e36014995 100644--- a/codex-rs/login/Cargo.toml+++ b/codex-rs/login/Cargo.toml@@ -17,7 +17,6 @@ serde = { version = "1", features = ["derive"] }serde_json = "1"sha2 = "0.10"tempfile = "3"-thiserror = "2.0.16"tiny_http = "0.12"tokio = { version = "1", features = ["io-std",@@ -31,5 +30,4 @@ urlencoding = "2.1"webbrowser = "1.0"[dev-dependencies]-pretty_assertions = "1.4.1"tempfile = "3"diff --git a/codex-rs/mcp-server/Cargo.toml b/codex-rs/mcp-server/Cargo.tomlindex cddf4cf3e4..335e4ce6d3 100644--- a/codex-rs/mcp-server/Cargo.toml+++ b/codex-rs/mcp-server/Cargo.toml@@ -26,7 +26,6 @@ schemars = "0.8.22"serde = { version = "1", features = ["derive"] }serde_json = "1"shlex = "1.3.0"-strum_macros = "0.27.2"tokio = { version = "1", features = ["io-std","macros",@@ -44,5 +43,4 @@ assert_cmd = "2"mcp_test_support = { path = "tests/common" }pretty_assertions = "1.4.1"tempfile = "3"-tokio-test = "0.4"wiremock = "0.6"diff --git a/codex-rs/mcp-server/tests/common/Cargo.toml b/codex-rs/mcp-server/tests/common/Cargo.tomlindex a9b4ddfbdd..88ad93f573 100644--- a/codex-rs/mcp-server/tests/common/Cargo.toml+++ b/codex-rs/mcp-server/tests/common/Cargo.toml@@ -9,20 +9,16 @@ path = "lib.rs"[dependencies]anyhow = "1"assert_cmd = "2"-codex-core = { path = "../../../core" }codex-mcp-server = { path = "../.." }codex-protocol = { path = "../../../protocol" }mcp-types = { path = "../../../mcp-types" }pretty_assertions = "1.4.1"serde = { version = "1" }serde_json = "1"-shlex = "1.3.0"-tempfile = "3"tokio = { version = "1", features = ["io-std","macros","process","rt-multi-thread",] }-uuid = { version = "1", features = ["serde", "v4"] }wiremock = "0.6"diff --git a/codex-rs/ollama/Cargo.toml b/codex-rs/ollama/Cargo.tomlindex 7fa1328385..e725c2a290 100644--- a/codex-rs/ollama/Cargo.toml+++ b/codex-rs/ollama/Cargo.toml@@ -24,9 +24,7 @@ tokio = { version = "1", features = ["rt-multi-thread","signal",] }-toml = "0.9.5"tracing = { version = "0.1.41", features = ["log"] }wiremock = "0.6"[dev-dependencies]-tempfile = "3"diff --git a/codex-rs/protocol/Cargo.toml b/codex-rs/protocol/Cargo.tomlindex 10a76d6ee2..d77da7fc19 100644--- a/codex-rs/protocol/Cargo.toml+++ b/codex-rs/protocol/Cargo.toml@@ -17,7 +17,6 @@ icu_locale_core = "2.0.0"mcp-types = { path = "../mcp-types" }mime_guess = "2.0.5"serde = { version = "1", features = ["derive"] }-serde_bytes = "0.11"serde_json = "1"serde_with = { version = "3.14.0", features = ["macros", "base64"] }strum = "0.27.2"@@ -29,3 +28,7 @@ uuid = { version = "1", features = ["serde", "v4"] }[dev-dependencies]pretty_assertions = "1.4.1"++[package.metadata.cargo-shear]+# Required because the not imported as strum_macros in non-nightly builds.+ignored = ["strum"]diff --git a/codex-rs/tui/Cargo.toml b/codex-rs/tui/Cargo.tomlindex 42fb1b0f4f..bedcf827be 100644--- a/codex-rs/tui/Cargo.toml+++ b/codex-rs/tui/Cargo.toml@@ -59,9 +59,7 @@ ratatui = { version = "0.29.0", features = ["unstable-rendered-line-info","unstable-widget-ref",] }-ratatui-image = "8.0.0"regex-lite = "0.1"-reqwest = { version = "0.12", features = ["json"] }serde = { version = "1", features = ["derive"] }serde_json = { version = "1", features = ["preserve_order"] }shlex = "1.3.0"@@ -81,12 +79,10 @@ tokio-stream = "0.1.17"tracing = { version = "0.1.41", features = ["log"] }tracing-appender = "0.2.3"tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }-tui-input = "0.14.0"tui-markdown = "0.3.3"unicode-segmentation = "1.12.0"unicode-width = "0.1"url = "2"-uuid = "1"pathdiff = "0.2"[target.'cfg(unix)'.dependencies]