[package]
edition = "2021"
rust-version = "1.75"
name = "ttop"
version = "2.0.0"
authors = ["PAIML Team"]
build = "build.rs"
exclude = [
"target/",
".pmat/",
".pmat-metrics/",
"docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal Top: 10X better than btop - Pure Rust system monitor with GPU support (NVIDIA/AMD/Apple), sovereign stack, zero-allocation rendering"
homepage = "https://github.com/paiml/trueno-viz/tree/main/crates/ttop"
documentation = "https://docs.rs/ttop"
readme = "README.md"
keywords = [
"system-monitor",
"tui",
"terminal",
"btop",
"htop",
]
categories = [
"command-line-utilities",
"visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/trueno-viz"
[features]
amd = []
apple-hardware = []
default = ["nvidia"]
full = ["nvidia"]
nvidia = []
[lib]
name = "ttop"
path = "src/lib.rs"
[[bin]]
name = "ttop"
path = "src/main.rs"
[[test]]
name = "brick_interface"
path = "tests/brick_interface.rs"
[[test]]
name = "panel_falsification"
path = "tests/panel_falsification.rs"
[[test]]
name = "pixel_parity"
path = "tests/pixel_parity.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.batuta-common]
version = "0.1"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.crossterm]
version = "0.28"
[dependencies.presentar-core]
version = "0.3.4"
[dependencies.presentar-terminal]
version = "0.3.5"
features = ["ptop"]
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.jugar-probar]
version = "1.0.4"
features = [
"tui",
"media",
]
default-features = false
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.10"
[build-dependencies.serde]
version = "1.0"
features = ["derive"]
[build-dependencies.serde_yaml_ng]
version = "0.10"
[lints.clippy]
assertions_on_constants = "allow"
expect_used = "allow"
for_kv_map = "allow"
manual_range_contains = "allow"
unwrap_used = "deny"
useless_vec = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"
[profile.release]
opt-level = 3
lto = "thin"
strip = "symbols"