-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (31 loc) · 958 Bytes
/
Copy pathCargo.toml
File metadata and controls
36 lines (31 loc) · 958 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
34
35
36
# Standalone workspace so this never gets pulled into a parent Cargo workspace.
[workspace]
[package]
name = "xconsole-installer"
version = "0.1.0"
edition = "2021"
description = "xConsole Setup"
license = "MIT"
publish = false
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
mslnk = "0.1"
winreg = "0.52"
# Supply-chain integrity: pin + verify the SHA-256 of every downloaded toolchain
# artifact before it is unzipped/executed. Both are already in the lock graph (via
# tauri), so declaring them direct pulls nothing new.
sha2 = "0.10"
hex = "0.4"
# The setup .exe — embeds the compiled app (~48 MB) via include_bytes!, so a
# release build with thin LTO keeps it reasonable and fast to start.
[profile.release]
opt-level = "s"
lto = "thin"
strip = true
[[bin]]
name = "xConsole-Setup"
path = "src/main.rs"