From 01102ca2cd52088a202557002e0fb5967b0a1eca Mon Sep 17 00:00:00 2001 From: n4n5 Date: Mon, 28 Sep 2026 19:22:04 +0200 Subject: [PATCH 1/3] fix: use re-export of egui --- Cargo.toml | 1 - src/app.rs | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 73c6ee6..d89ed5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ all-features = true targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] [dependencies] -egui = "0.36.0" eframe = { version = "0.36.0", features = ["persistence"] } log = "0.4.27" diff --git a/src/app.rs b/src/app.rs index 002bc94..3aaf4ee 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1,3 +1,7 @@ + +/// Use the egui re-export +use eframe::egui; + /// We derive Deserialize/Serialize so we can persist app state on shutdown. #[derive(serde::Deserialize, serde::Serialize)] #[serde(default)] // if we add new fields, give them default values when deserializing old state From 3c717fd6da94977e72539fbd8a4e48694628bb91 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Mon, 28 Sep 2026 19:23:38 +0200 Subject: [PATCH 2/3] fix: cargo fmt --- src/app.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 3aaf4ee..609fb3a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1,4 +1,3 @@ - /// Use the egui re-export use eframe::egui; From ac3a70a53012a0e6a5d56d9adfa2c1d74be1c069 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Mon, 28 Sep 2026 19:29:20 +0200 Subject: [PATCH 3/3] fix: egui import --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e9bd86d..447df2e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ fn main() -> eframe::Result { env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`). let native_options = eframe::NativeOptions { - viewport: egui::ViewportBuilder::default() + viewport: eframe::egui::ViewportBuilder::default() .with_inner_size([400.0, 300.0]) .with_min_inner_size([300.0, 220.0]) .with_icon(