-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
148 lines (135 loc) · 4.11 KB
/
Copy pathCargo.toml
File metadata and controls
148 lines (135 loc) · 4.11 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[package]
name = "hardware_visualizer"
version = "1.0.0"
description = "A real-time hardware monitoring tool for Windows"
authors = ["@shm11C3"]
license = "MIT"
repository = ""
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
quote = "1.0.45"
syn = { version = "2.0.117", features = ["full"] }
tauri-build = { version = "2.6.3", features = [] }
[dependencies]
hardviz-core = { path = "../core" }
serde_json = "1.0.150"
serde = { version = "1.0.228", features = ["derive"] }
tauri = { version = "2.11.4", features = ["macos-private-api", "tray-icon"] }
sysinfo = "0.39.3"
tauri-plugin-window-state = { version = "2.4.1" }
tokio = { version = "1.52.3", features = [
"rt-multi-thread",
"macros",
"time",
"fs",
] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", default-features = false, features = [
"env-filter",
"fmt",
] }
chrono = "0.4.44"
tauri-plugin-dialog = "2.7.1"
tauri-plugin-store = "2.4.3"
base64 = "0.22"
image = { version = "0.25.10", default-features = false, features = ["png"] }
regex = "1.12.3"
tempfile = "3.27.0"
sys-locale = "0.3.2"
tauri-specta = { version = "=2.0.0-rc.24", features = ["derive", "typescript"] }
specta-typescript = "0.0.11"
specta = "=2.0.0-rc.24"
tauri-plugin-shell = "2.3.5"
sqlx = { version = "0.8.6", features = [
"sqlite",
"runtime-tokio-rustls",
"macros",
"chrono",
] }
async-trait = "0.1"
tauri-plugin-os = "2.3.2"
tauri-plugin-clipboard-manager = "2.3.2"
tauri-plugin-opener = "2.5.4"
tauri-plugin-single-instance = "2.4.2"
[dependencies.uuid]
version = "1.23.2"
features = [
"v7", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]
[features]
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]
bindings-export = []
[[bin]]
name = "export_bindings"
path = "src/bin/export_bindings.rs"
required-features = ["bindings-export"]
[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_System_Performance",
"Win32_System_Registry",
"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"
objc2 = "0.6.4"
# Pin to 0.6 so the single copy in the tree matches the one Tauri depends on.
# Two semver-incompatible copies (0.6 + 0.7) each compile the same
# `NSVisualEffectViewTagged` Objective-C class, and the release profile's LTO
# (`lto = true`, `codegen-units = 1`) then fails the macOS link with
# "symbol multiply defined" for `__CLASS_NSVisualEffectViewTagged` (see #1724/#1718).
window-vibrancy = "0.6"
objc2-app-kit = { version = "0.3.2", features = [
"NSAttributedString",
"NSButton",
"NSColor",
"NSControl",
"NSEvent",
"NSFont",
"NSImage",
"NSMenu",
"NSMenuItem",
"NSStatusBar",
"NSStatusBarButton",
"NSStatusItem",
"NSTextAttachment",
"NSView",
"objc2-core-foundation",
] }
objc2-foundation = { version = "0.3.2", features = [
"NSAttributedString",
"NSData",
"NSDictionary",
"NSGeometry",
"NSObject",
"NSRange",
"NSString",
] }
[lib]
name = "hardware_monitor_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[dev-dependencies]
tauri = { version = "2.11.4", features = ["test"] }
mockall = "0.14"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-autostart = "2.5.1"
tauri-plugin-updater = "2.10.1"