[package]
edition = "2024"
name = "cc-switch"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI tool for managing multiple Claude API configurations and automatically switching between them"
homepage = "https://github.com/Linuxdazhao/cc_auto_switch"
documentation = "https://github.com/Linuxdazhao/cc_auto_switch"
readme = "README.md"
keywords = [
"claude",
"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 = "completion_tests"
path = "tests/completion_tests.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 = "tests"
path = "tests/tests.rs"
[dependencies.anyhow]
version = "1.0.98"
[dependencies.clap]
version = "4.5.43"
features = [
"derive",
"cargo",
]
[dependencies.clap_complete]
version = "4.5.55"
[dependencies.colored]
version = "3.0"
[dependencies.crossterm]
version = "0.29.0"
[dependencies.dirs]
version = "6.0.0"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.20.0"
[profile.dev]
incremental = true
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
strip = true