ai-usagebar 1.20.2

Omarchy/Waybar widgets + TUI for tracking multi-provider AI plan usage
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 = "1.20.2"
build = "build.rs"
exclude = [
    "screenshot.png",
    "screenshots/*",
    "packaging/*",
    ".github/*",
    ".claude/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Omarchy/Waybar widgets + TUI for tracking multi-provider AI plan usage"
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-tray"
path = "src/bin/ai-usagebar-tray.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"

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

[dependencies.aes]
version = "0.9"

[dependencies.base64]
version = "0.23"

[dependencies.cbc]
version = "0.2"
features = ["alloc"]

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

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

[dependencies.ctrlc]
version = "3"

[dependencies.directories]
version = "6"

[dependencies.fs2]
version = "0.4"

[dependencies.pbkdf2]
version = "0.13"
features = ["hmac"]
default-features = false

[dependencies.ratatui]
version = "0.30.1"

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

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

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

[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.11"
default-features = false

[dependencies.sha2]
version = "0.11"
default-features = false

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "1.1"

[dependencies.toml_edit]
version = "0.25"

[dependencies.unicode-width]
version = "0.2"

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

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

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

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

[target.'cfg(target_os = "macos")'.dependencies.security-framework]
version = "3"

[target.'cfg(target_os = "windows")'.dependencies.global-hotkey]
version = "0.8"

[target.'cfg(target_os = "windows")'.dependencies.tao]
version = "0.37"

[target.'cfg(target_os = "windows")'.dependencies.tray-icon]
version = "0.24"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61.2"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Dwm",
    "Win32_NetworkManagement_IpHelper",
    "Win32_Networking_WinSock",
    "Win32_Security_Credentials",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_LibraryLoader",
    "Win32_System_Registry",
    "Win32_System_Threading",
    "Win32_UI_Input_KeyboardAndMouse",
    "Win32_UI_WindowsAndMessaging",
]

[target.'cfg(target_os = "windows")'.dependencies.wry]
version = "0.57"

[target."cfg(unix)".dependencies.rustix]
version = "1"
features = ["process"]

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