From 53ac406cbbc9761cbe9e8f4a09047779115ccafb Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Mon, 29 Jul 2024 19:28:35 -0700 Subject: [PATCH] Add x11 and wayland features to egui Signed-off-by: Alex Saveau --- egui/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/egui/Cargo.toml b/egui/Cargo.toml index 194de7f..ffb044f 100644 --- a/egui/Cargo.toml +++ b/egui/Cargo.toml @@ -10,14 +10,17 @@ categories = ["command-line-utilities", "development-tools", "filesystem"] license.workspace = true [dependencies] -eframe = { version = "0.28.1", default-features = false, features = ["glow", "wayland", "x11"] } +eframe = { version = "0.28.1", default-features = false, features = ["glow"] } image = "0.25.2" ringboard-sdk = { package = "clipboard-history-client-sdk", version = "0", path = "../client-sdk" } rustc-hash = "2.0.0" tracy-client = { version = "0.17.0", optional = true } [features] +default = ["x11"] trace = ["dep:tracy-client"] +x11 = ["eframe/x11"] +wayland = ["eframe/wayland"] [[bin]] name = "ringboard-egui"