From 10ff558853f549d3f3c7c8432488bfad9da6973a Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 19:58:59 +0100 Subject: v4.1.0: add the egui workspace member and the roulette style spike Phase 3 of the GUI plan. gui/ is a separate package that depends on the core with default features off, so egui never enters the TUI or server build graph. It carries the theme tokens and two embedded fonts (Open Sans OFL, Hack MIT), paints the felt, chips, cursor and wheel from RouletteView, and composes the persistent header with the betting sidebar. The reference screen runs on demo state: arrow keys move the shared Cursor, clicks place chips, and SPIN animates a 2.4 s wheel that settles with the winning pocket under the pointer. No network until Phase 4. Verified x86_64-pc-windows-gnu cross-compile. Measured on Linux at 1080p with llvmpipe: 6.0 MB binary (4.7 MB on Windows), 52 ms to window, 137 MB idle RSS, 0% idle CPU. --- Cargo.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9e650f2..ed9d4f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,9 @@ +[workspace] +members = ["gui"] + [package] name = "zagan-bet" -version = "4.0.7" +version = "4.1.0" edition = "2024" license = "GPL-3.0-or-later" @@ -33,3 +36,13 @@ serde_json = "1.0" uuid = { version = "1.0", features = ["v4"] } native-tls = { version = "0.2", optional = true } rustls = { version = "0.21", features = ["dangerous_configuration"] } + +# The GUI ships as one self-contained binary; the TUI and server keep the +# default release profile. Build with: +# cargo build -p zagan-bet-gui --profile gui-release +[profile.gui-release] +inherits = "release" +opt-level = "z" +lto = true +codegen-units = 1 +strip = true -- cgit v1.2.3