gupaxx/Cargo.toml

131 lines
4.5 KiB
TOML
Raw Normal View History

cargo-features = ["profile-rustflags", "codegen-backend", "edition2024"]
2022-10-01 16:58:22 +00:00
[package]
2024-03-23 16:27:14 +00:00
name = "gupaxx"
2024-11-02 17:33:47 +00:00
version = "1.5.3"
2024-03-23 16:27:14 +00:00
authors = ["cyrix126 <gupaxx@baermail.fr>"]
description = "Fork of Gupax integrating the XMRvsBeast Raffle "
documentation = "https://github.com/cyrix126/gupaxx"
edition = "2024"
2022-10-01 16:58:22 +00:00
[profile.release]
2024-11-19 14:16:15 +00:00
panic = "abort"
2024-03-22 11:36:40 +00:00
lto = "fat"
codegen-units = 1
2024-03-22 11:36:40 +00:00
incremental = false
2024-11-19 14:16:15 +00:00
strip = "symbols"
2024-03-22 11:36:40 +00:00
rustflags = ["-Zlocation-detail=none"]
2023-05-11 20:37:16 +00:00
[profile.dev]
# can induce issue when using rust-analyzer, but allows smaller dev build time
# codegen-backend = "cranelift"
2023-05-11 20:37:16 +00:00
[features]
default = []
bundle = []
distro = []
2024-12-11 18:09:49 +00:00
log=[]
2022-10-01 16:58:22 +00:00
[dependencies]
clap = {version="4.5", features=["cargo", "derive"]}
2024-11-19 12:10:56 +00:00
anyhow = "1.0.93"
benri = "0.1.12"
bytes = "1.8.0"
dirs = "5.0.1"
2022-12-15 21:23:26 +00:00
#--------------------------------------------------------------------------------
# egui = "0.29.1"
egui = {git="https://github.com/emilk/egui"}
# egui_extras = {version="0.29.1", features = ["image"] }
egui_extras = {git="https://github.com/emilk/egui", features = ["image"] }
2023-12-28 13:57:29 +00:00
## 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-12-28 13:57:29 +00:00
## 2023-02-06: The below gets fixed by using the [wgpu] backend instead of [glow]
2023-02-06 22:59:51 +00:00
## 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.5"
2024-05-18 09:41:17 +00:00
figment = { version = "0.10.19", features = ["toml"] }
reqwest = {version = "0.12.9", default-features=false, features=["json", "rustls-tls"]}
2024-11-19 12:10:56 +00:00
reqwest-middleware = "0.4"
reqwest-retry = "0.7"
image = { version = "0.25.5", features = ["png"] }
2024-07-25 06:40:37 +00:00
log = "0.4.22"
num-format = { version = "0.4.4", default-features = false }
2024-10-06 14:53:27 +00:00
once_cell = "1.20.2"
portable-pty = "0.8.1"
rand = "0.8.5"
regex = { version = "1.11.1", default-features = false, features = ["perf"] }
2024-11-19 12:10:56 +00:00
rfd = "0.15.1"
serde = { version = "1.0.215", features = ["rc", "derive"] }
serde_json = "1.0.133"
sysinfo = { version = "0.32.0", default-features = false, features=["system"] }
# tls-api = "0.9.0"
2024-11-19 12:10:56 +00:00
tokio = { version = "1.41.1", features = ["rt", "time", "macros", "process", "rt-multi-thread"] }
toml = { version = "0.8.19", features = ["preserve_order"] }
walkdir = "2.5.0"
2024-07-25 06:40:37 +00:00
zeroize = "1.8.1"
2024-04-03 16:42:56 +00:00
strsim = "0.11.1"
2023-12-25 14:52:24 +00:00
strip-ansi-escapes = "0.2.0"
derive_more = {version="1.0.0", default-features=false, features=["display", "deref", "deref_mut"]}
2024-03-04 11:03:14 +00:00
serde-this-or-that = "0.4.2"
2024-03-16 15:41:21 +00:00
readable = "0.16"
2024-04-21 14:37:04 +00:00
chrono = {version="0.4.38", default-features=false, features=["clock", "std"]}
enclose = "1.2.0"
2024-04-02 15:08:14 +00:00
bounded-vec-deque = {version="0.1.1", default-features=false}
cfg-if = "1.0"
2024-08-29 13:04:53 +00:00
flexi_logger = "0.29"
# eframe = {version="0.29.1", features=["wgpu"]}
eframe = {git="https://github.com/emilk/egui", features=["wgpu"]}
strum = {version="0.26", features=["derive"]}
# Unix dependencies
[target.'cfg(unix)'.dependencies]
2024-11-19 12:10:56 +00:00
tar = "0.4.43"
flate2 = "1.0"
sudo = "0.6.0"
# 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"
2023-06-04 13:52:04 +00:00
# `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"] }
2023-06-04 13:52:04 +00:00
# We don't even use `xz` in `flate2` but this gets dynamically
# linked as well which causes problems, so statically link it.
2024-05-18 09:41:17 +00:00
lzma-sys = { version = "0.1", features = ["static"] }
[dev-dependencies]
# egui = {version="0.29.1", 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
2024-05-18 09:41:17 +00:00
# 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", features=["angle"]}
zip = "2.2.0"
is_elevated = "0.1.2"
2022-10-01 16:58:22 +00:00
# For Windows build (icon)
[target.'cfg(windows)'.build-dependencies]
winres = "0.1.12"
static_vcruntime = "2.0"
2022-10-01 16:58:22 +00:00
# For macOS build (cargo-bundle)
[package.metadata.bundle]
2024-03-23 16:27:14 +00:00
name = "Gupaxx"
identifier = "com.github.cyrix126.gupaxx"
2022-11-02 22:18:41 +00:00
icon = ["images/icons/icon@2x.png"]
category = "public.app-category.utilities"