-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (45 loc) · 1.58 KB
/
Cargo.toml
File metadata and controls
47 lines (45 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "spark-dashboard"
version = "0.9.1"
edition = "2021"
rust-version = "1.95"
description = "Real-time hardware and LLM inference monitoring for Linux hosts with NVIDIA GPUs"
license = "MIT"
repository = "https://github.com/niklasfrick/spark-dashboard"
readme = "README.md"
keywords = ["monitoring", "gpu", "nvml", "dgx-spark", "vllm"]
categories = ["command-line-utilities", "visualization"]
# frontend/dist is produced by `npm run build` before `cargo publish`; it is
# gitignored but must ship in the published crate so rust-embed can pick it up
# during `cargo install`. Same for the systemd unit + config example — they are
# embedded in the binary via include_str! for the `service` subcommand.
include = [
"/src/**",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/LICENSE",
"/CHANGELOG.md",
"/frontend/dist/**",
"/packaging/systemd/spark-dashboard.service",
"/packaging/config.env.example",
]
[dependencies]
axum = { version = "0.8", features = ["ws"] }
tokio = { version = "1", features = ["full"] }
sysinfo = "0.39"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tower-http = { version = "0.6", features = ["cors", "fs"] }
rust-embed = { version = "8", features = ["axum"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
clap = { version = "4", features = ["derive", "env"] }
mime_guess = "2"
reqwest = { version = "0.13", features = ["json"] }
async-trait = "0.1"
prometheus-parse = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
nvml-wrapper = "0.12"
procfs = "0.18"
bollard = "0.21"