claude-codex 0.3.1

Run Claude Code on your Claude and ChatGPT subscriptions at once, routed per model name
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "claude-codex"
version = "0.3.1"
authors = ["Claude Code Proxy contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Run Claude Code on your Claude and ChatGPT subscriptions at once, routed per model name"
homepage = "https://github.com/fcakyon/claude-code-with-codex"
readme = "README.md"
keywords = [
    "claude-code",
    "codex",
    "openai",
    "anthropic",
    "gpt",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/fcakyon/claude-code-with-codex"

[lib]
name = "claude_codex"
path = "src/lib.rs"

[[bin]]
name = "claude-codex"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "codex_agent_continuation"
path = "tests/codex_agent_continuation.rs"

[[test]]
name = "codex_auth"
path = "tests/codex_auth.rs"

[[test]]
name = "codex_websocket"
path = "tests/codex_websocket.rs"

[[test]]
name = "codex_websocket_proxy"
path = "tests/codex_websocket_proxy.rs"

[[test]]
name = "cursor_native"
path = "tests/cursor_native.rs"

[[test]]
name = "foundation"
path = "tests/foundation.rs"

[[test]]
name = "public_codex_api_compat"
path = "tests/public_codex_api_compat.rs"

[[test]]
name = "server"
path = "tests/server.rs"

[[test]]
name = "smoke_cutover"
path = "tests/smoke_cutover.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = [
    "macros",
    "multipart",
]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.crossterm]
version = "0.28"

[dependencies.flate2]
version = "1.0"

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.hostname]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper-util]
version = "0.1"
features = ["client-proxy"]

[dependencies.jiff]
version = "0.2"
features = [
    "std",
    "tz-system",
    "tzdb-zoneinfo",
]
default-features = false

[dependencies.once_cell]
version = "1.20"

[dependencies.prost]
version = "0.13"

[dependencies.rand]
version = "0.8"

[dependencies.ratatui]
version = "0.29"

[dependencies.regex-lite]
version = "0.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "multipart",
    "rustls-tls",
    "blocking",
    "http2",
    "socks",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tiktoken-rs]
version = "0.12"
default-features = false

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
]

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "signal",
    "time",
    "fs",
]

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
]
default-features = false

[dependencies.tokio-tungstenite]
version = "0.24"
features = [
    "connect",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.webpki-roots]
version = "1"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3.14"

[dev-dependencies.tokio]
version = "1"
features = ["test-util"]