From 5bb5c8f5315e27bd7bc051144c1ec6593998fa7f Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Sun, 15 Mar 2026 18:40:11 +0100 Subject: [PATCH] feat: add required features for k-launcher-egui and update dependencies --- crates/k-launcher/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/k-launcher/Cargo.toml b/crates/k-launcher/Cargo.toml index f3d2578..fa362f2 100644 --- a/crates/k-launcher/Cargo.toml +++ b/crates/k-launcher/Cargo.toml @@ -11,6 +11,10 @@ path = "src/main.rs" [[bin]] name = "k-launcher-egui" path = "src/main_egui.rs" +required-features = ["egui"] + +[features] +egui = ["dep:k-launcher-ui-egui"] [dependencies] iced = { workspace = true } @@ -18,7 +22,7 @@ k-launcher-config = { path = "../k-launcher-config" } k-launcher-kernel = { path = "../k-launcher-kernel" } k-launcher-os-bridge = { path = "../k-launcher-os-bridge" } k-launcher-ui = { path = "../k-launcher-ui" } -k-launcher-ui-egui = { path = "../k-launcher-ui-egui" } +k-launcher-ui-egui = { path = "../k-launcher-ui-egui", optional = true } plugin-apps = { path = "../plugins/plugin-apps" } plugin-calc = { path = "../plugins/plugin-calc" } plugin-cmd = { path = "../plugins/plugin-cmd" }