[package] name = "codexbar" version = "0.70.0" edition = "2024" authors = ["CodexBar Contributors"] description = "Windows and WSL system tray app for monitoring AI provider usage limits" license = "MIT" repository = "https://github.com/Finesssee/Win-CodexBar" keywords = ["ai", "usage", "monitoring", "claude", "codex"] categories = ["command-line-utilities"] [lib] path = "src/lib.rs" [features] default = [] [dependencies] # Async runtime tokio = { version = "1", features = ["full"] } # HTTP client reqwest = { version = "0.12", features = ["json", "cookies", "rustls-tls", "stream", "http2", "system-proxy"], default-features = false } # Serialization serde = { version = "1", features = ["derive"] } serde_json = "1" toml = "0.8" # CLI clap = { version = "4", features = ["derive", "env"] } # Logging tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } # Error handling thiserror = "2" anyhow = "1" # Date/time chrono = { version = "0.4", features = ["serde"] } chrono-tz = "0.10" iana-time-zone = "0.1" # Async utilities async-trait = "0.1" futures = "0.3" image = { version = "0.25", default-features = false } # SQLite for reading browser cookies rusqlite = { version = "0.32", features = ["bundled"] } # Encryption for cookie decryption aes-gcm = "0.10" base64 = "0.22" # Hashing for update verification sha2 = "0.10" # Secure credential storage keyring = "3" # UUID generation uuid = { version = "1", features = ["v4", "serde"] } # Regex (lite version for simple matching) regex-lite = "0.1" # Which - find executables in PATH which = "7" # Native pseudo-terminal support for interactive CLI probes portable-pty = "0.9" # Dirs - standard directories dirs = "6" # Open URLs in browser open = "5" fluent-templates = "0.13" unic-langid = "0.9" # Windows-only [target.'cfg(windows)'.dependencies] windows = { version = "0.58", features = [ "Win32_Foundation", "Win32_Security_Credentials", "Win32_Security_Cryptography", "Win32_Media_Audio", "Win32_NetworkManagement_IpHelper", "Win32_Security", "Win32_System_Console", "Win32_System_LibraryLoader", "Win32_System_JobObjects", "Win32_System_Pipes", "Win32_System_Power", "Win32_System_Threading", "Win32_System_Diagnostics_ToolHelp", "Win32_UI_WindowsAndMessaging", "Win32_Storage_FileSystem", ] } winreg = "0.55" [dev-dependencies] tokio-test = "0.4" tempfile = "3" mockito = "1.4" [profile.release] opt-level = 3 lto = true codegen-units = 1 strip = true panic = "abort" [[bin]] name = "codexbar" path = "src/main.rs" [lints] workspace = true