-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (69 loc) · 2.92 KB
/
Cargo.toml
File metadata and controls
77 lines (69 loc) · 2.92 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
[package]
name = "gmodpatchtool"
version = "20251102.0.0"
authors = ["Solstice Game Studios <contact@solsticegamestudios.com>", "Shinkarna <admin@nekogan.com>"]
license = "GPL-3.0-only"
edition = "2024"
[package.metadata.winresource]
FileDescription = "GModPatchTool"
ProductName = "GModPatchTool"
LegalCopyright = "Solstice Game Studios <contact@solsticegamestudios.com>"
[dependencies]
anyhow = { version = "1.0" }
blake3 = { version = "1.8", features = ["mmap", "rayon"] }
bytes = { version = "1.10", optional = true }
clap = { version = "4.5", features = ["derive"] }
crossterm = { version = "0.29" }
dirs = { version = "6.0", optional = true }
http = { version = "1.3", optional = true }
iced = { version = "0.13", optional = true, features = ["image"] }
iced_term = { version = "0.6", optional = true }
indexmap = { version = "2.12", features = ["rayon", "serde"] }
keyvalues-serde = { version = "0.2", optional = true }
open = { version = "5.3", optional = true }
phf = { version = "0.13", features = ["macros"], optional = true }
qbsdiff = "1.4"
rayon = { version = "1.11" }
regex = "1.12"
reqwest = { version = "0.12", default-features = false, features = ["http2", "rustls-tls-native-roots", "json", "gzip", "brotli", "zstd", "socks"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
serde_path_to_error = { version = "0.1" }
steamid = { version = "0.1", git = "https://github.com/JohnPeel/steamid", optional = true }
sysinfo = { version = "0.37", optional = true }
thiserror = { version = "2.0", optional = true }
tokio = { version = "1.48", features = ["full"], optional = true }
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter", "tracing-log"], optional = true }
windows-registry = { version = "0.6", optional = true }
zstd = "0.13"
[target.'cfg(windows)'.dependencies]
is_elevated = "0.1"
dunce = "1.0"
win32console = "0.1"
[features]
default = ["patch"]
#default = ["generate"]
patch = ["dep:bytes", "dep:dirs", "dep:http", "dep:iced", "dep:iced_term", "dep:keyvalues-serde", "dep:open", "dep:phf", "dep:reqwest", "dep:steamid", "dep:sysinfo", "dep:thiserror", "dep:tokio", "dep:tracing", "dep:tracing-subscriber", "dep:windows-registry"]
generate = []
# Build config
[target.'cfg(windows)'.build-dependencies]
winresource = "0.1"
[target.'cfg(target_os = "macos")'.build-dependencies]
cargo-packager = "0.11"
[package.metadata.packager]
product-name = "GModPatchTool"
identifier = "com.solsticegamestudios.gmodpatchtool"
license-file = "LICENSE.txt"
before-packaging-command = "cargo build --release"
binaries = [
{ path = "gmodpatchtool", main = true }
]
formats = ["dmg"]
resources = ["GModPatchToolLogo.icns"]
icons = ["GModPatchToolLogo.icns"]
macos = { minimum-system-version = "11.0" }
#dmg = { background = "macos-background.png", window-size = "640 360", app-position = "", app-folder-position = "" }
[profile.release]
strip = true
lto = true