[package]
edition = "2021"
name = "swapdex"
version = "0.167.20"
build = false
exclude = [
"docs/*",
"npm/*",
".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Switch between multiple Claude Code, Codex, Gemini, and Antigravity login accounts, locally and safely."
homepage = "https://github.com/youdie006/swapdex"
readme = "README.md"
keywords = [
"cli",
"claude",
"codex",
"accounts",
"credentials",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/youdie006/swapdex"
[lib]
name = "swapdex"
path = "src/lib.rs"
[[bin]]
name = "swapdex"
path = "src/main.rs"
[[test]]
name = "agreement"
path = "tests/agreement.rs"
[[test]]
name = "claude_capture"
path = "tests/claude_capture.rs"
[[test]]
name = "claude_shim"
path = "tests/claude_shim.rs"
[[test]]
name = "codex_refresh_visibility"
path = "tests/codex_refresh_visibility.rs"
[[test]]
name = "codex_sessions"
path = "tests/codex_sessions.rs"
[[test]]
name = "codex_shim"
path = "tests/codex_shim.rs"
[[test]]
name = "codex_websocket"
path = "tests/codex_websocket.rs"
[[test]]
name = "first_use"
path = "tests/first_use.rs"
[[test]]
name = "installer"
path = "tests/installer.rs"
[[test]]
name = "no_leak"
path = "tests/no_leak.rs"
[[test]]
name = "overage"
path = "tests/overage.rs"
[[test]]
name = "picker_upgrade"
path = "tests/picker_upgrade.rs"
[[test]]
name = "pipe"
path = "tests/pipe.rs"
[[test]]
name = "provider_scoping"
path = "tests/provider_scoping.rs"
[[test]]
name = "proxy"
path = "tests/proxy.rs"
[[test]]
name = "quota_backoff"
path = "tests/quota_backoff.rs"
[[test]]
name = "quota_cache_concurrency"
path = "tests/quota_cache_concurrency.rs"
[[test]]
name = "quota_identity"
path = "tests/quota_identity.rs"
[[test]]
name = "quota_renewal"
path = "tests/quota_renewal.rs"
[[test]]
name = "refresh"
path = "tests/refresh.rs"
[[test]]
name = "refresh_coordination"
path = "tests/refresh_coordination.rs"
[[test]]
name = "refresh_health"
path = "tests/refresh_health.rs"
[[test]]
name = "release_metadata"
path = "tests/release_metadata.rs"
[[test]]
name = "run"
path = "tests/run.rs"
[[test]]
name = "service_upgrade"
path = "tests/service_upgrade.rs"
[[test]]
name = "settings_contention"
path = "tests/settings_contention.rs"
[[test]]
name = "soak"
path = "tests/soak.rs"
[[test]]
name = "switch"
path = "tests/switch.rs"
[dependencies.anyhow]
version = "1.0.104"
[dependencies.base64]
version = "0.23"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.clap_mangen]
version = "0.3.0"
[dependencies.dirs]
version = "7"
[dependencies.fs2]
version = "0.4"
[dependencies.http-body-util]
version = "0.1"
[dependencies.httpdate]
version = "1.0.3"
[dependencies.hyper]
version = "1"
features = [
"server",
"http1",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.libc]
version = "0.2.186"
[dependencies.ratatui]
version = "0.30"
features = ["crossterm"]
default-features = false
[dependencies.rcgen]
version = "0.14.10"
features = [
"ring",
"pem",
]
default-features = false
[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]
[dependencies.sha2]
version = "0.11.0"
[dependencies.tempfile]
version = "3"
[dependencies.tiny_http]
version = "0.12"
[dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"sync",
"macros",
"time",
]
[dependencies.tokio-rustls]
version = "0.26.5"
features = [
"ring",
"logging",
"tls12",
]
default-features = false
[dependencies.unicode-width]
version = "0.2.2"
[dependencies.ureq]
version = "3.4.2"
[dependencies.zeroize]
version = "1"