crabtop 0.1.0

Terminal-based Linux system monitor with CPU, memory, GPU and thermal metrics
# 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"
name = "crabtop"
version = "0.1.0"
authors = ["Pedro Henrique dos Santos Cunha"]
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal-based Linux system monitor with CPU, memory, GPU and thermal metrics"
readme = "README.md"
keywords = [
    "tui",
    "monitor",
    "system",
    "htop",
    "cli",
]
categories = [
    "command-line-utilities",
    "visualization",
]
license = "MIT"
repository = "https://github.com/Shnrqpdr/crabtop"

[features]
default = ["nvidia"]
nvidia = ["dep:nvml-wrapper"]

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.futures]
version = "0.3"

[dependencies.nvml-wrapper]
version = "0.10"
optional = true

[dependencies.ratatui]
version = "0.29"

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

[dependencies.sysinfo]
version = "0.32"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "sync",
    "signal",
]

[dependencies.tokio-stream]
version = "0.1"

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