# 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"
rust-version = "1.95"
name = "fso-ghr-stats"
version = "0.1.2"
authors = ["Aditya Kresna <https://github.com/Ujang360>"]
build = false
exclude = [
    ".fso-amem/",
    ".cargo/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Live TUI + collector service (history, jobs, Prometheus) for self-hosted GitHub Actions runner fleets"
readme = "README.md"
keywords = [
    "github-actions",
    "self-hosted",
    "runner",
    "tui",
    "prometheus",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/fluminis-scientiae-oraculum/ghr-stats"

[[bin]]
name = "ghr-stats"
path = "src/entrypoint.rs"

[dependencies.anyhow]
version = "1.0.103"

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

[dependencies.crossbeam-channel]
version = "0.5.15"

[dependencies.ctrlc]
version = "3.5.2"
features = ["termination"]

[dependencies.dialoguer]
version = "0.12.0"

[dependencies.mimalloc]
version = "0.1"

[dependencies.nix]
version = "0.31.3"
features = [
    "fs",
    "feature",
    "user",
    "socket",
]

[dependencies.ratatui]
version = "0.30.2"

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

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sysinfo]
version = "0.39.5"

[dependencies.tempfile]
version = "3.27.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tiny_http]
version = "0.12"

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.tui-input]
version = "0.15.3"
features = ["ratatui-crossterm"]
default-features = false

[dependencies.ureq]
version = "3"
features = ["json"]

[dependencies.uzers]
version = "0.12.2"

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.insta]
version = "1"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true
