[package]
edition = "2024"
rust-version = "1.88"
name = "token-manager"
version = "20261127.0.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "token-manager"
description = "Read-only AI account balances and quotas in your terminal"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ducks/token-manager"
[lib]
name = "token_manager"
path = "src/lib.rs"
[[bin]]
name = "tm"
path = "src/bin/tm.rs"
[[bin]]
name = "token-manager"
path = "src/main.rs"
[[test]]
name = "accounts"
path = "tests/accounts.rs"
[[test]]
name = "anthropic"
path = "tests/anthropic.rs"
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "costs"
path = "tests/costs.rs"
[[test]]
name = "google"
path = "tests/google.rs"
[[test]]
name = "keyring"
path = "tests/keyring.rs"
[[test]]
name = "next_services"
path = "tests/next_services.rs"
[[test]]
name = "openai"
path = "tests/openai.rs"
[[test]]
name = "prices"
path = "tests/prices.rs"
[[test]]
name = "services"
path = "tests/services.rs"
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"rustls-tls",
]
default-features = false
[dependencies.rpassword]
version = "7"
[dependencies.rust_decimal]
version = "1"
features = ["std"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["arbitrary_precision"]
[dependencies.sha2]
version = "0.10"
[dependencies.toml]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"