rgm_ui 0.5.1

A Rust GPU Monitor with egui UI for NVIDIA and AMD GPUs on Linux
# 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 = "rgm_ui"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust GPU Monitor with egui UI for NVIDIA and AMD GPUs on Linux"
readme = "README.md"
keywords = [
    "nvidia",
    "amd",
    "gpu",
    "monitor",
    "egui",
]
categories = [
    "gui",
    "hardware-support",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Neomelt/RGM"

[package.metadata.deb]
maintainer = "Neomelt <niezhenghua2004@gmail.com>"
copyright = "2026, Neomelt"
extended-description = "A lightweight GPU monitoring utility with egui UI for NVIDIA and AMD GPUs on Linux"
section = "utils"
priority = "optional"
maintainer-scripts = "packaging/debian"
assets = [
    [
    "target/release/rgm",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/rgm/",
    "644",
],
    [
    "assets/linux/rgm.desktop",
    "usr/share/applications/rgm.desktop",
    "644",
],
    [
    "assets/icons/rgm.png",
    "usr/share/icons/hicolor/256x256/apps/rgm.png",
    "644",
],
    [
    "assets/icons/rgm.svg",
    "usr/share/icons/hicolor/scalable/apps/rgm.svg",
    "644",
],
]

[package.metadata.generate-rpm]
post_install_script = "packaging/rpm/post_install.sh"
post_uninstall_script = "packaging/rpm/post_uninstall.sh"

[[package.metadata.generate-rpm.assets]]
source = "target/release/rgm"
dest = "/usr/bin/rgm"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/rgm/README.md"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "assets/linux/rgm.desktop"
dest = "/usr/share/applications/rgm.desktop"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "assets/icons/rgm.png"
dest = "/usr/share/icons/hicolor/256x256/apps/rgm.png"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "assets/icons/rgm.svg"
dest = "/usr/share/icons/hicolor/scalable/apps/rgm.svg"
mode = "644"

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

[dependencies.amdgpu-sysfs]
version = "0.19"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.eframe]
version = "0.32.2"
features = ["persistence"]

[dependencies.egui_extras]
version = "0.32"

[dependencies.egui_plot]
version = "0.33.0"

[dependencies.nvml-wrapper]
version = "0.11.0"

[dependencies.thiserror]
version = "2.0.16"