@@ -24,6 +24,7 @@ default = []
2424bundle = []
2525distro = []
2626log =[]
27+ wgpu =[" dep:wgpu" , " eframe/wgpu" ]
2728
2829[dependencies ]
2930clap = {version =" 4.5" , features =[" cargo" , " derive" ]}
@@ -33,19 +34,7 @@ bytes = "1.11.0"
3334dirs = " 6.0.0"
3435# --------------------------------------------------------------------------------
3536egui = " 0.33"
36- # egui = {git="https://github.com/emilk/egui"}
3737egui_extras = {version =" 0.33" , features = [" image" ] }
38- # egui_extras = {git="https://github.com/emilk/egui", features = ["image"] }
39-
40- # # 2023-12-28: https://github.com/hinto-janai/gupax/issues/68
41- # #
42- # # 2024-03-18: Both `glow` and `wgpu` seem to crash:
43- # # <https://github.com/hinto-janai/gupax/issues/84>
44- # # `wgpu` seems to crash on less computers though so...
45-
46- # # 2023-02-06: The below gets fixed by using the [wgpu] backend instead of [glow]
47- # # It also fixes crashes on CPU-based graphics. Only used for Windows.
48- # # Using [wgpu] actually crashes macOS (fixed in 0.20.x though).
4938
5039# --------------------------------------------------------------------------------
5140env_logger = " 0.11.8"
@@ -63,7 +52,6 @@ rfd = "0.15.4"
6352serde = { version = " 1.0.228" , features = [" rc" , " derive" ] }
6453serde_json = " 1.0.145"
6554sysinfo = { version = " 0.37" , default-features = false , features =[" system" ] }
66- # tls-api = "0.9.0"
6755tokio = { version = " 1.48.0" , features = [" rt" , " time" , " macros" , " process" , " rt-multi-thread" ] }
6856toml = { version = " 0.9.8" , features = [" preserve_order" ] }
6957walkdir = " 2.5.0"
@@ -78,8 +66,7 @@ enclose = "1.2.1"
7866bounded-vec-deque = {version =" 0.1.1" , default-features =false }
7967cfg-if = " 1.0"
8068flexi_logger = " 0.31"
81- eframe = {version =" 0.33" , features =[" wgpu" ]}
82- # eframe = {git="https://github.com/emilk/egui", features=["wgpu"]}
69+ eframe = " 0.33"
8370strum = {version =" 0.27" , features =[" derive" ]}
8471# # force version of ring to prevent https://rustsec.org/advisories/RUSTSEC-2025-0009
8572ring = " 0.17.14"
@@ -103,24 +90,18 @@ ctrlc = {version="3.5", features=["termination"]}
10390tar = " 0.4.44"
10491flate2 = " 1.1"
10592sudo = " 0.6.0"
106- # https://github.com/emilk/egui/releases/tag/0.30.0 see breaking change
107- eframe = {version =" 0.33" , features =[" x11" , " wayland" ]}
10893portable-pty = " 0.9.0"
10994# macOS
11095[target .'cfg(target_os = "macos")' .dependencies ]
11196[dev-dependencies ]
11297egui = {version =" 0.33" , features =[" callstack" ]}
113- # egui = {git="https://github.com/emilk/egui", features=["callstack"]}
114-
115- # [target.'cfg(not(target_os = "macos"))'.dependencies]
116- # tls-api-native-tls = "0.9.0"
11798
11899# Windows dependencies
119100[target .'cfg(windows)' .dependencies ]
120101# glow start on windows but not wgpu
121102# need the same version that eframe is using with egui_wgpu
122103# feature angle to enable support for old cpu on Windows
123- wgpu = {version = " 27.0.1" , features =[" angle" ]}
104+ wgpu = {version = " 27.0.1" , features =[" angle" ], optional = true }
124105zip = " 6.0.0"
125106is_elevated = " 0.1.2"
126107# # portable-pty upgrade on 0.9 will break terminals on windows
0 commit comments