ttop 0.3.5

Terminal Top: 10X better than btop - Pure Rust system monitor with GPU support (NVIDIA/AMD/Apple), macOS native, deterministic rendering
Documentation
# 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.75"
name = "ttop"
version = "0.3.5"
authors = ["PAIML Team"]
build = false
exclude = [
    "tests/",
    "target/",
]
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), macOS native, deterministic 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 = ["trueno-viz/apple-hardware"]
default = ["nvidia"]
full = [
    "nvidia",
    "tracing",
    "apple-hardware",
]
nvidia = ["trueno-viz/monitor-nvidia"]
tracing = ["dep:renacer"]

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

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

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

[[example]]
name = "collectors"
path = "examples/collectors.rs"

[[example]]
name = "presentar_demo"
path = "examples/presentar_demo.rs"

[[example]]
name = "simple"
path = "examples/simple.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.dirs]
version = "5.0"

[dependencies.renacer]
version = "0.9"
optional = true

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

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.trueno-viz]
version = "0.2.2"
features = ["monitor"]

[dev-dependencies.jugar-probar]
version = "1.0.1"
features = [
    "tui",
    "media",
]
default-features = false

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.ratatui]
version = "0.29"

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

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[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"