-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.06 KB
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 1.06 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
[package]
name = "sysmon"
version = "0.3.0"
edition = "2021"
description = "Lightweight GPU/CPU/RAM monitoring with minimal latency impact"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Gitorian/sysmon"
readme = "README.md"
[dependencies]
nvml-wrapper = { version = "0.10", default-features = false, optional = true }
adlx = { version = "0.0.0-alpha.1", optional = true }
crossterm = { version = "0.27", default-features = false, features = ["windows", "events"] }
ctrlc = { version = "3.4", default-features = false }
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
anyhow = "1.0"
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_Media"
] }
[features]
default = ["nvidia", "amd"]
nvidia = ["nvml-wrapper"]
amd = ["adlx"]
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"
overflow-checks = false
debug = false
incremental = false
[profile.release.package."*"]
opt-level = "z"
strip = true