ccstat 0.6.0

Analyze Claude Code usage data from local JSONL files
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"
name = "ccstat"
version = "0.6.0"
authors = ["hydai"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Analyze Claude Code usage data from local JSONL files"
readme = "README.md"
keywords = [
    "claude",
    "usage",
    "cli",
    "cost",
    "analysis",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/hydai/ccstat"

[lib]
name = "ccstat"
path = "src/lib.rs"

[[bin]]
name = "ccstat"
path = "src/main.rs"

[[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"

[[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"

[[bench]]
name = "aggregation"
path = "benches/aggregation.rs"
harness = false

[[bench]]
name = "cost_calculation"
path = "benches/cost_calculation.rs"
harness = false

[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false

[[bench]]
name = "usage_benchmarks"
path = "benches/usage_benchmarks.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.ccstat-core]
version = "0.6.0"

[dependencies.ccstat-pricing]
version = "0.6.0"

[dependencies.ccstat-provider-amp]
version = "0.6.0"

[dependencies.ccstat-provider-claude]
version = "0.6.0"

[dependencies.ccstat-provider-codex]
version = "0.6.0"

[dependencies.ccstat-provider-opencode]
version = "0.6.0"

[dependencies.ccstat-provider-pi]
version = "0.6.0"

[dependencies.ccstat-terminal]
version = "0.6.0"

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

[dependencies.chrono-tz]
version = "0.10"

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

[dependencies.colored]
version = "3.1"

[dependencies.console]
version = "0.16"

[dependencies.derive_more]
version = "2.0"
features = [
    "display",
    "from",
    "error",
]

[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]
version = "0.13"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.smallvec]
version = "1.13"

[dependencies.string-interner]
version = "0.19"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"
features = ["io-util"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.typed-arena]
version = "2.0"

[dependencies.uuid]
version = "1.10"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2.5"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[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"

[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true

[profile.test]
opt-level = 0