# 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 = "paceflow"
version = "0.2.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "paceflow"
description = "Local-first CLI that turns AI coding session history and git metadata into engineering analytics."
homepage = "https://github.com/PaceFlow/ai-engineering-analytics"
readme = "README.md"
keywords = [
    "analytics",
    "ai",
    "cli",
    "git",
    "developer-tools",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/PaceFlow/ai-engineering-analytics"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/paceflow-{ target }{ archive-suffix }"
bin-dir = "paceflow-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

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

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

[[bin]]
name = "sanitize_regression_fixtures"
path = "src/bin/sanitize_regression_fixtures.rs"

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

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

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

[dependencies.anyhow]
version = "1.0.102"

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

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

[dependencies.dirs]
version = "6.0.0"

[dependencies.md5]
version = "0.8.0"

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.rayon]
version = "1.12.0"

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.12.24"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rusqlite]
version = "0.38.0"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0.149"
features = ["raw_value"]

[dependencies.similar]
version = "2"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.48.0"
features = [
    "net",
    "rt",
    "sync",
    "time",
]

[dev-dependencies.assert_cmd]
version = "2.1.1"

[dev-dependencies.insta]
version = "1.43.2"
features = ["yaml"]

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

[profile.release]
debug = "line-tables-only"
