ai-usagebar 0.7.0

Waybar widget + TUI for AI plan usage across Anthropic, OpenAI, Z.AI, OpenRouter, and DeepSeek
Documentation
# 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"
rust-version = "1.88"
name = "ai-usagebar"
version = "0.7.0"
build = false
exclude = [
    "screenshot.png",
    "screenshots/*",
    "packaging/*",
    ".github/*",
    ".claude/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Waybar widget + TUI for AI plan usage across Anthropic, OpenAI, Z.AI, OpenRouter, and DeepSeek"
homepage = "https://github.com/akitaonrails/ai-usagebar"
documentation = "https://github.com/akitaonrails/ai-usagebar#readme"
readme = "README.md"
keywords = [
    "waybar",
    "claude",
    "openai",
    "tui",
    "usage",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/akitaonrails/ai-usagebar"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/ai-usagebar-linux-{ target-arch }.tar.gz"
pkg-fmt = "tgz"
bin-dir = "{ bin }{ binary-ext }"

[lib]
name = "ai_usagebar"
path = "src/lib.rs"

[[bin]]
name = "ai-usagebar"
path = "src/bin/ai-usagebar.rs"

[[bin]]
name = "ai-usagebar-tui"
path = "src/bin/ai-usagebar-tui.rs"

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

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.directories]
version = "5"

[dependencies.fs2]
version = "0.4"

[dependencies.ratatui]
version = "0.30.1"

[dependencies.ratatui-bubbletea-components]
version = "0.1"

[dependencies.ratatui-bubbletea-theme]
version = "0.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "time",
    "fs",
    "process",
    "signal",
]

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

[dev-dependencies.insta]
version = "1"
features = ["json"]

[dev-dependencies.mockito]
version = "1"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"