# 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.74"
name = "agtop"
version = "2.4.17"
authors = ["Matt Brassey <matt@brassey.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal UI for monitoring AI coding agents (Claude Code, Codex, Aider, Cursor, Gemini, Goose, ...) — like top, but for agents."
homepage = "https://github.com/mbrassey/agtop"
readme = "README.md"
keywords = [
    "agent",
    "ai",
    "monitor",
    "tui",
    "top",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/mbrassey/agtop"

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

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

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6"

[dependencies.ratatui]
version = "0.30"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.sysinfo]
version = "0.38"
features = ["system"]
default-features = false

[dependencies.toml]
version = "1"
features = [
    "parse",
    "serde",
]
default-features = false

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_Threading",
    "Win32_System_WindowsProgramming",
    "Win32_NetworkManagement_IpHelper",
    "Win32_Networking_WinSock",
    "Wdk_System_SystemInformation",
    "Wdk_Foundation",
]

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