kitgit

tirbofish/dropbear · diff

61debd7 · tk

toast + faster builds

Unverified

diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..29937b0
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,9 @@
+[build]
+jobs = 8 
+
+[profile.dev]
+opt-level = 0
+debug = true
+codegen-units = 16
+incremental = true
+lto = false
diff --git a/eucalyptus/Cargo.toml b/eucalyptus/Cargo.toml
index 016baa5..d1f4c24 100644
--- a/eucalyptus/Cargo.toml
+++ b/eucalyptus/Cargo.toml
@@ -11,7 +11,7 @@ git2 = "0.20.2"
 anyhow = "1.0.98"
 ron = "0.10.1"
 chrono = "0.4.41"
-egui-toast = "0.17.0"
+egui-toast = { git = "https://github.com/creativcoder/egui-toast" }
 egui_dock = { git = "https://github.com/Adanos020/egui_dock" }
 once_cell = "1.21"
 
diff --git a/eucalyptus/src/editor.rs b/eucalyptus/src/editor.rs
index bd2c397..1e6c4ae 100644
--- a/eucalyptus/src/editor.rs
+++ b/eucalyptus/src/editor.rs
@@ -3,6 +3,7 @@ use std::{collections::HashSet, path::PathBuf, str::FromStr, sync::Arc};
 use dropbear_engine::{
     async_trait::async_trait,
     camera::Camera,
+    egui,
     graphics::{Graphics, Shader},
     input::{Controller, Keyboard, Mouse},
     log,
@@ -12,10 +13,8 @@ use dropbear_engine::{
         dpi::PhysicalPosition, event_loop::ActiveEventLoop, keyboard::KeyCode, window::Window,
     },
 };
-use egui_dock::{
-    DockArea, DockState, NodeIndex, Style, TabViewer,
-    egui::{self, TextureId, Ui, WidgetText},
-};
+use egui_dock::{DockArea, DockState, NodeIndex, Style, TabViewer};
+use egui_toast::{ToastOptions, Toasts};

Large diffs are not rendered by default. Showing the first 50 of 162 lines. Show full diff