[[bench]]
harness = false
name = "aggregation"
path = "benches/aggregation.rs"
[[bench]]
harness = false
name = "cost_calculation"
path = "benches/cost_calculation.rs"
[[bench]]
harness = false
name = "parsing"
path = "benches/parsing.rs"
[[bench]]
harness = false
name = "usage_benchmarks"
path = "benches/usage_benchmarks.rs"
[[bin]]
name = "ccstat"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.chrono-tz]
version = "0.10"
[dependencies.clap]
features = ["derive", "env"]
version = "4.5"
[dependencies.colored]
version = "2.1"
[dependencies.derive_more]
features = ["display", "from", "error"]
version = "2.0"
[dependencies.dirs]
version = "6.0"
[dependencies.futures]
version = "0.3"
[dependencies.iana-time-zone]
version = "0.1"
[dependencies.indicatif]
version = "0.18"
[dependencies.is-terminal]
version = "0.4"
[dependencies.notify]
version = "8.1"
[dependencies.once_cell]
version = "1.19"
[dependencies.prettytable-rs]
version = "0.10"
[dependencies.rayon]
version = "1.10"
[dependencies.reqwest]
features = ["json"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.smallvec]
version = "1.13"
[dependencies.string-interner]
version = "0.19"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["full"]
version = "1.40"
[dependencies.tokio-stream]
features = ["io-util"]
version = "0.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[dependencies.typed-arena]
version = "2.0"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1.10"
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.7"
[dev-dependencies.filetime]
version = "0.2"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.tempfile]
version = "3.13"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "custom_filter"
path = "examples/custom_filter.rs"
[[example]]
name = "json_export"
path = "examples/json_export.rs"
[lib]
name = "ccstat"
path = "src/lib.rs"
[package]
authors = ["hydai"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities"]
description = "Analyze Claude Code usage data from local JSONL files"
edition = "2024"
keywords = ["claude", "usage", "cli", "cost", "analysis"]
license = "MIT"
name = "ccstat"
readme = "README.md"
repository = "https://github.com/hydai/ccstat"
version = "0.3.2"
[profile.dev]
opt-level = 0
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true
[profile.test]
opt-level = 0
[[test]]
name = "commands_test"
path = "tests/commands_test.rs"
[[test]]
name = "end_to_end_test"
path = "tests/end_to_end_test.rs"
[[test]]
name = "fixtures_test"
path = "tests/fixtures_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "isolated_dedup_test"
path = "tests/isolated_dedup_test.rs"
[[test]]
name = "proptest_test"
path = "tests/proptest_test.rs"