# 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.23"
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 = "codex_tests"
path = "tests/codex_tests.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 = "platform_tests"
path = "tests/platform_tests.rs"

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

[dependencies.anyhow]
version = "1.0.98"

[dependencies.base64]
version = "0.22.1"

[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.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.20.0"

[dependencies.which]
version = "7"

[profile.dev]
debug = 0
incremental = false

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