-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (29 loc) · 771 Bytes
/
Cargo.toml
File metadata and controls
33 lines (29 loc) · 771 Bytes
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
[package]
name = "gpuinfo"
version = "0.2.0"
authors = ["Edward Hu <bodunhu@utexas.edu>"]
edition = "2021"
license = "MIT"
description = "A minimal command-line utility for querying GPU status"
homepage = "https://github.com/BDHU/gpuinfo"
repository = "https://github.com/BDHU/gpuinfo"
readme = "README.md"
keywords = ["rust", "gpu", "nvidia-smi", "command-line", "monitoring"]
categories = ["command-line-utilities"]
exclude = ["*.png", "*.jpg"]
[[bin]]
name = "gpu-info"
path = "src/main.rs"
[lib]
name = "gpuinfo"
path = "src/lib.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
nvml-wrapper = "0.10"
sysinfo = "0.32"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
atty = "0.2"
[profile.release]
opt-level = "s"
lto = true