Source: https://seerepo.com/compare/openai/codex/vs/rust-lang/cargo
Markdown source: https://seerepo.com/compare/openai/codex/vs/rust-lang/cargo.md
Description: codex and cargo share 6 technologies: SQLite, hmac, pulldown-cmark, schemars, tracing, and tracing-subscriber. Both are written in Rust.

# codex vs cargo

codex and cargo share 6 technologies: SQLite, hmac, pulldown-cmark, schemars, tracing, and tracing-subscriber. Both are written in Rust.

- [openai/codex](https://seerepo.com/r/openai/codex): Lightweight coding agent that runs in your terminal
- [rust-lang/cargo](https://seerepo.com/r/rust-lang/cargo): The Rust package manager

## What they share and what sets them apart

- In common: SQLite, hmac, pulldown-cmark, schemars, tracing, tracing-subscriber
- Only in codex: axum, lru, Sentry, Tokio, tower, objc2-app-kit, objc2-foundation, Ratatui, crossterm, keyring, rmcp, png, image, zip, Pydantic, log, tracing-appender
- Only in cargo: rusqlite, anstyle, http-auth, handlebars, tracing-chrome

## Side by side

| | codex | cargo |
|---|---|---|
| Size | 2,320,674 lines written, 4,216 code files | 351,287 lines written, 327 code files |
| Who writes it | 2.8% of its commits signed by AI. With Codex, Claude Code, and GitHub Copilot | 0% of its commits signed by AI. With Codex |
| Activity | Last push November 4, 2026, 13,099 commits, 133,103 stars | Last push November 7, 2026, 16,021 commits, 15,685 stars |
| Tests | 2,448 test files. 51.6% of its code files have a test that imports them | 1,035 test files. 2.8% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, codex or cargo?

codex, with 2,320,674 lines written; cargo has 351,287.

The proof: [openai/codex's code at commit 021fccb](https://github.com/openai/codex/tree/021fccb046508938c4754982efccfb51d6e8356e)

### Which has more GitHub stars, codex or cargo?

codex, with 133,103 stars; cargo has 15,685.

The proof: [openai/codex on GitHub](https://github.com/openai/codex)

### Which has more tests, codex or cargo?

codex, with 2,448 test files; cargo has 1,035.

The proof: [openai/codex's code at commit 021fccb](https://github.com/openai/codex/tree/021fccb046508938c4754982efccfb51d6e8356e)

### Which was updated more recently, codex or cargo?

cargo: its last push was on November 7, 2026, and codex's on November 4, 2026.

The proof: [rust-lang/cargo's commits on GitHub](https://github.com/rust-lang/cargo/commits)

### Which has more commits signed by AI, codex or cargo?

codex: an AI signed 2.8% of its commits, with Codex, Claude Code, and GitHub Copilot.

The proof: [the commits each tool signed in openai/codex](https://seerepo.com/r/openai/codex/ai)

## Sources

- openai/codex: Read on November 4, 2026, at commit 021fccb (https://github.com/openai/codex/tree/021fccb046508938c4754982efccfb51d6e8356e)
- rust-lang/cargo: Read on November 8, 2026, at commit c82e769 (https://github.com/rust-lang/cargo/tree/c82e769730a4c8559076964b4ebeed021f4aa96e)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
