diff options
Diffstat (limited to 'gui/Cargo.toml')
| -rw-r--r-- | gui/Cargo.toml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/gui/Cargo.toml b/gui/Cargo.toml index 8bcbda0..24bf560 100644 --- a/gui/Cargo.toml +++ b/gui/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "zagan-bet-gui" | 2 | name = "zagan-bet-gui" |
| 3 | version = "4.3.0" | 3 | version = "4.3.1" |
| 4 | edition = "2024" | 4 | edition = "2024" |
| 5 | license = "GPL-3.0-or-later" | 5 | license = "GPL-3.0-or-later" |
| 6 | description = "Desktop frontend for zagan-bet" | 6 | description = "Desktop frontend for zagan-bet" |
| @@ -12,12 +12,19 @@ path = "src/main.rs" | |||
| 12 | [dependencies] | 12 | [dependencies] |
| 13 | # No default features: the GUI never links the server's native-tls. | 13 | # No default features: the GUI never links the server's native-tls. |
| 14 | zagan-bet = { path = "..", default-features = false } | 14 | zagan-bet = { path = "..", default-features = false } |
| 15 | # glow (OpenGL) rather than wgpu: no Vulkan runtime, and it cross-compiles to | 15 | rusqlite = { version = "0.29", features = ["bundled"] } |
| 16 | # Windows with the mingw toolchain. Fonts are embedded, so no default_fonts. | 16 | sha2 = "0.10" |
| 17 | |||
| 18 | # Linux uses glow (OpenGL): small, and every desktop has a usable driver. | ||
| 19 | # Windows uses wgpu on Direct3D 12, which also has the WARP software adapter on | ||
| 20 | # machines with no OpenGL driver (Windows 10 1809 over Remote Desktop, VMs). | ||
| 21 | [target.'cfg(windows)'.dependencies] | ||
| 22 | eframe = { version = "0.37", default-features = false, features = ["wgpu"] } | ||
| 23 | windows-sys = { version = "0.59", features = ["Win32_UI_WindowsAndMessaging"] } | ||
| 24 | |||
| 25 | [target.'cfg(not(windows))'.dependencies] | ||
| 17 | eframe = { version = "0.37", default-features = false, features = [ | 26 | eframe = { version = "0.37", default-features = false, features = [ |
| 18 | "glow", | 27 | "glow", |
| 19 | "wayland", | 28 | "wayland", |
| 20 | "x11", | 29 | "x11", |
| 21 | ] } | 30 | ] } |
| 22 | rusqlite = { version = "0.29", features = ["bundled"] } | ||
| 23 | sha2 = "0.10" | ||
