# 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.85"
name = "narsil"
version = "0.2.0"
authors = ["Raimo Geisel"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal-based system resource monitor — GPU-aware, Braille charts, per-char label inversion"
homepage = "https://shards-of-narsil.app"
readme = "README.md"
keywords = [
    "system-monitor",
    "tui",
    "terminal",
    "ratatui",
    "gpu",
]
categories = [
    "command-line-utilities",
    "visualization",
]
license = "GPL-3.0-only"
repository = "https://github.com/Pommersche92/narsil"

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.ratatui]
version = "0.30"

[dependencies.sysinfo]
version = "0.38"
