[package]
edition = "2024"
name = "context-bar"
version = "0.6.1"
build = false
include = [
"src/**/*.rs",
"examples/**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "context-bar"
description = "Usage HUD + API-equivalent cost estimator for AI coding agents (Claude Code, Codex CLI). Native macOS menubar app, terminal CLI, and Zed extension."
homepage = "https://github.com/htahaozlu/context-bar"
readme = "README.md"
keywords = [
"claude",
"codex",
"usage",
"cost",
"tokens",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/htahaozlu/context-bar"
resolver = "2"
[lib]
name = "context_bar"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "context-bar"
path = "src/bin/context-bar.rs"
[[example]]
name = "snapshot"
path = "examples/snapshot.rs"
[dependencies.context-bar-core]
version = "0.6.1"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"macros",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.comfy-table]
version = "7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossterm]
version = "0.29"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ctrlc]
version = "3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ratatui]
version = "0.29"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_json]
version = "1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.zed_extension_api]
version = "0.7.0"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"