[package]
edition = "2024"
name = "context-bar-core"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engine for context-bar: AI coding-agent usage, rolling quota windows, and API-equivalent cost estimation from local transcripts."
readme = false
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_core"
path = "src/lib.rs"
[[example]]
name = "collect_dump"
path = "examples/collect_dump.rs"
[[test]]
name = "aggregate_golden"
path = "tests/aggregate_golden.rs"
[[test]]
name = "collect_smoke"
path = "tests/collect_smoke.rs"
[[test]]
name = "others_smoke"
path = "tests/others_smoke.rs"
[[test]]
name = "pricing_golden"
path = "tests/pricing_golden.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.time]
version = "0.3"
features = [
"formatting",
"macros",
"parsing",
"local-offset",
]
[dev-dependencies.serde_json]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_json]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ureq]
version = "2"
features = [
"tls",
"json",
]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.zed_extension_api]
version = "0.7.0"