[[bin]]
name = "cc-switch"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0.98"
[dependencies.clap]
features = ["derive", "cargo"]
version = "4.5.43"
[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]
features = ["derive"]
version = "1.0.219"
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.20.0"
[lib]
name = "cc_switch"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities"]
description = "A CLI tool for managing multiple Claude API configurations and automatically switching between them"
documentation = "https://github.com/Linuxdazhao/cc_auto_switch"
edition = "2024"
homepage = "https://github.com/Linuxdazhao/cc_auto_switch"
keywords = ["claude", "api", "configuration", "cli"]
license = "MIT"
name = "cc-switch"
readme = "README.md"
repository = "https://github.com/Linuxdazhao/cc_auto_switch"
version = "0.0.39"
[package.metadata.docs.rs]
all-features = true
[profile.dev]
incremental = true
[profile.release]
codegen-units = 1
lto = true
opt-level = "s"
panic = "abort"
strip = true
[[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"