ccs-proxy 0.1.1

Local logging reverse-proxy + dashboard for Claude Code / Codex traffic
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"
rust-version = "1.95"
name = "ccs-proxy"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local logging reverse-proxy + dashboard for Claude Code / Codex traffic"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Linuxdazhao/ccs-proxy"

[features]
default = []
dev-fs-assets = []

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

[[bin]]
name = "ccs-proxy"
path = "src/bin/ccs-proxy.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "streaming"
path = "benches/streaming.rs"
harness = false

[dependencies.anyhow]
version = "1"

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

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

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dirs]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.hyper]
version = "1"
features = ["full"]

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "stream",
    "json",
]
default-features = false

[dependencies.rust-embed]
version = "8"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "trace",
    "cors",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2"
features = ["serde"]

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

[dependencies.webbrowser]
version = "1"

[dev-dependencies.criterion]
version = "0.8"
features = [
    "html_reports",
    "async_tokio",
]

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

[dev-dependencies.wiremock]
version = "0.6"

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"