cc-switch 0.1.38

Switch between multiple Claude / Codex configurations. Optional daemon proxies traffic to a built-in dashboard — requests, conversations, token stats. Cross-platform.
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 = "cc-switch"
version = "0.1.38"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Switch between multiple Claude / Codex configurations. Optional daemon proxies traffic to a built-in dashboard — requests, conversations, token stats. Cross-platform."
homepage = "https://github.com/Linuxdazhao/cc_auto_switch"
documentation = "https://github.com/Linuxdazhao/cc_auto_switch"
readme = "README.md"
keywords = [
    "claude",
    "codex",
    "api",
    "configuration",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/Linuxdazhao/cc_auto_switch"

[package.metadata.docs.rs]
all-features = true

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

[[bin]]
name = "cc-switch"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.98"

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22.1"

[dependencies.ccs-proxy]
version = "0.1.0"

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

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "cargo",
]

[dependencies.clap_complete]
version = "4.6"

[dependencies.colored]
version = "3.0"

[dependencies.crossterm]
version = "0.29.0"

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures]
version = "0.3"

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.20.0"

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

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

[dependencies.url]
version = "2"

[dependencies.which]
version = "7"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[profile.dev]
debug = 0
incremental = false

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
strip = true