-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
132 lines (121 loc) · 4.58 KB
/
Cargo.toml
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
cargo-features = ["profile-rustflags", "codegen-backend"]
[package]
name = "gupaxx"
version = "1.8.2"
authors = ["cyrix126 <[email protected]>"]
description = "Fork of Gupax integrating the XMRvsBeast Raffle "
documentation = "https://github.com/cyrix126/gupaxx"
edition = "2024"
[profile.release]
panic = "abort"
lto = "fat"
codegen-units = 1
incremental = false
strip = "symbols"
rustflags = ["-Zlocation-detail=none"]
[profile.dev]
# can induce issue when using rust-analyzer, but allows smaller dev build time
# codegen-backend = "cranelift"
[features]
default = []
bundle = []
distro = []
log=[]
[dependencies]
clap = {version="4.5", features=["cargo", "derive"]}
anyhow = "1.0.95"
benri = "0.1.12"
bytes = "1.10.0"
dirs = "6.0.0"
#--------------------------------------------------------------------------------
egui = "0.30"
# egui = {git="https://github.com/emilk/egui"}
egui_extras = {version="0.30", features = ["image"] }
# egui_extras = {git="https://github.com/emilk/egui", features = ["image"] }
## 2023-12-28: https://github.com/hinto-janai/gupax/issues/68
##
## 2024-03-18: Both `glow` and `wgpu` seem to crash:
## <https://github.com/hinto-janai/gupax/issues/84>
## `wgpu` seems to crash on less computers though so...
## 2023-02-06: The below gets fixed by using the [wgpu] backend instead of [glow]
## It also fixes crashes on CPU-based graphics. Only used for Windows.
## Using [wgpu] actually crashes macOS (fixed in 0.20.x though).
#--------------------------------------------------------------------------------
env_logger = "0.11.6"
figment = { version = "0.10.19", features = ["toml"] }
reqwest = {version = "0.12.12", default-features=false, features=["json", "rustls-tls"]}
reqwest-middleware = "0.4"
reqwest-retry = "0.7"
image = { version = "0.25.5", features = ["png"] }
log = "0.4.25"
num-format = { version = "0.4.4", default-features = false }
once_cell = "1.20.3"
portable-pty = "0.8.1"
rand = "0.9.0"
regex = { version = "1.11.1", default-features = false, features = ["perf"] }
rfd = "0.15.2"
serde = { version = "1.0.217", features = ["rc", "derive"] }
serde_json = "1.0.138"
sysinfo = { version = "0.33.1", default-features = false, features=["system"] }
# tls-api = "0.9.0"
tokio = { version = "1.43.0", features = ["rt", "time", "macros", "process", "rt-multi-thread"] }
toml = { version = "0.8.20", features = ["preserve_order"] }
walkdir = "2.5.0"
zeroize = "1.8.1"
strsim = "0.11.1"
strip-ansi-escapes = "0.2.1"
derive_more = {version="1.0.0", default-features=false, features=["display", "deref", "deref_mut"]}
serde-this-or-that = "0.5.0"
readable = "0.16"
chrono = {version="0.4.39", default-features=false, features=["clock", "std"]}
enclose = "1.2.0"
bounded-vec-deque = {version="0.1.1", default-features=false}
cfg-if = "1.0"
flexi_logger = "0.29"
eframe = {version="0.30", features=["wgpu"]}
# eframe = {git="https://github.com/emilk/egui", features=["wgpu"]}
strum = {version="0.26", features=["derive"]}
# Unix dependencies
[target.'cfg(unix)'.dependencies]
tar = "0.4.43"
flate2 = "1.0"
sudo = "0.6.0"
# https://github.com/emilk/egui/releases/tag/0.30.0 see breaking change
eframe = {version="0.30", features=["x11", "wayland"]}
# macOS
[target.'cfg(target_os = "macos")'.dependencies]
# On apple-darwin targets there is an issue with the native and rustls
# tls implementation so this makes it fall back to the openssl variant.
#
# https://gitlab.torproject.org/tpo/core/arti/-/issues/715
# tls-api-openssl = "0.9.0"
# `arti-client` with `static` doesn't actually
# statically link OpenSSL on macOS, both x64 + ARM.
# Should probably file a bug report.
# openssl = { version = "0.10", features = ["vendored"] }
# We don't even use `xz` in `flate2` but this gets dynamically
# linked as well which causes problems, so statically link it.
lzma-sys = { version = "0.1", features = ["static"] }
[dev-dependencies]
egui = {version="0.30", features=["callstack"]}
# egui = {git="https://github.com/emilk/egui", features=["callstack"]}
# [target.'cfg(not(target_os = "macos"))'.dependencies]
# tls-api-native-tls = "0.9.0"
# Windows dependencies
[target.'cfg(windows)'.dependencies]
# glow start on windows but not wgpu
# need the same version that eframe is using with egui_wgpu
# feature angle to enable support for old cpu on Windows
wgpu = {version = "23.0.1", features=["angle"]}
zip = "2.2.2"
is_elevated = "0.1.2"
# For Windows build (icon)
[target.'cfg(windows)'.build-dependencies]
winres = "0.1.12"
static_vcruntime = "2.0"
# For macOS build (cargo-bundle)
[package.metadata.bundle]
name = "Gupaxx"
identifier = "com.github.cyrix126.gupaxx"
icon = ["images/icons/[email protected]"]
category = "public.app-category.utilities"