-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (65 loc) · 1.62 KB
/
Copy pathCargo.toml
File metadata and controls
72 lines (65 loc) · 1.62 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "hardviz-core"
version = "0.1.0"
edition = "2024"
license = "MIT"
description = "Tauri-independent core for HardwareVisualizer (sensor collection, persistence, event bus)"
authors = ["@shm11C3"]
# Intentionally has no `tauri` dependency. The Cargo dependency graph enforces
# that no `use tauri::*;` can appear under `core/src/`.
[lib]
name = "hardviz_core"
path = "src/lib.rs"
[dependencies]
tokio = { version = "1.52.3", features = [
"rt",
"rt-multi-thread",
"macros",
"sync",
"time",
"fs",
] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
tracing = "0.1.44"
chrono = "0.4.44"
regex = "1.12.3"
async-trait = "0.1"
sysinfo = "0.39.3"
tempfile = "3.27.0"
hmac = "0.12.1"
sha2 = "0.10.9"
getrandom = "0.4.2"
sqlx = { version = "0.8.6", features = [
"sqlite",
"runtime-tokio-rustls",
"macros",
"chrono",
"migrate",
] }
[target.'cfg(windows)'.dependencies]
wmi = "0.18.4"
dxgi = "0.1.7"
winapi = { version = "0.3", features = ["dxgi", "setupapi", "devguid"] }
windows = { version = "0.62.2", features = [
"Data_Xml_Dom",
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Ioctl",
"Win32_System_Performance",
"Win32_System_Threading",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
] }
nvapi = "=0.1.4"
libloading = "0.9"
[target.'cfg(target_os = "linux")'.dependencies]
ipnet = "2.12.0"
dirs = "6.0.0"
[target.'cfg(target_os = "macos")'.dependencies]
libc = "0.2"
core-foundation = "0.10.1"
[dev-dependencies]
tokio = { version = "1.52.3", features = ["macros", "rt"] }