# 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 = "2021"
rust-version = "1.75"
name = "ccmetrics"
version = "0.1.0"
build = false
exclude = [
    "docs/",
    "evaluations/",
    "memory/",
    ".claude/",
    ".github/",
    ".DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Honest token metrics for Claude Code — correct dedup, 5-type cache disaggregation, accurate costs"
homepage = "https://github.com/ishpreet95/ccmetrics"
readme = "README.md"
keywords = [
    "claude",
    "anthropic",
    "tokens",
    "metrics",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/ishpreet95/ccmetrics"

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

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[dependencies.anyhow]
version = "1"

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.comfy-table]
version = "7"

[dependencies.glob]
version = "0.3"

[dependencies.rayon]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.tempfile]
version = "3.27.0"

[profile.release]
lto = true
strip = true
