-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (47 loc) · 1.08 KB
/
Cargo.toml
File metadata and controls
55 lines (47 loc) · 1.08 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
48
49
50
51
52
53
54
55
[workspace]
members = [".", "nvctl-gui"]
resolver = "2"
[package]
name = "nvctl"
version = "0.1.0"
edition = "2021"
authors = ["nvctl contributors"]
description = "NVML-based GPU control tool for fan curves, power limits, and thermal management"
license = "MIT"
readme = "README.md"
repository = "https://github.com/your-repo/nvctl"
keywords = ["nvidia", "gpu", "nvml", "fan-control", "power-management"]
categories = ["command-line-utilities", "hardware-support"]
[dependencies]
nvml-wrapper = "0.11"
nvml-wrapper-sys = "0.9"
libloading = "0.8"
clap = { version = "4", features = ["derive", "env"] }
clap_complete = "4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
thiserror = "2"
log = "0.4"
env_logger = "0.11"
dirs = "5"
[features]
default = []
mock = [] # Enables mock GPU implementations for testing
[dev-dependencies]
tempfile = "3"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
opt-level = "z"
[profile.dev]
opt-level = 0
debug = true
[[bin]]
name = "nvctl"
path = "src/main.rs"
[lib]
name = "nvctl"
path = "src/lib.rs"