diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index a67cec27773..2896da8bf1e 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -157,7 +157,6 @@ serde = { version = "1", optional = true, features = ["derive"] } # native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] egui-winit = { version = "0.25.0", path = "../egui-winit", default-features = false, features = [ - "clipboard", "links", ] } image = { version = "0.24", default-features = false, features = [ diff --git a/crates/egui-winit/Cargo.toml b/crates/egui-winit/Cargo.toml index bd629e663e8..d791a00dba8 100644 --- a/crates/egui-winit/Cargo.toml +++ b/crates/egui-winit/Cargo.toml @@ -18,7 +18,7 @@ all-features = true [features] -default = ["clipboard", "links", "wayland", "winit/default", "x11"] +default = ["links", "wayland", "winit/default", "x11"] ## Enable platform accessibility API implementations through [AccessKit](https://accesskit.dev/). accesskit = ["accesskit_winit", "egui/accesskit"] @@ -35,9 +35,8 @@ android-native-activity = ["winit/android-native-activity"] ## [`bytemuck`](https://docs.rs/bytemuck) enables you to cast [`egui::epaint::Vertex`], [`egui::Vec2`] etc to `&[u8]`. bytemuck = ["egui/bytemuck"] -## Enable cut/copy/paste to OS clipboard. -## If disabled a clipboard will be simulated so you can still copy/paste within the egui app. -clipboard = ["arboard", "smithay-clipboard"] +## Deprecated, clipboard is automatically enabled when x11 or wayland is selected +clipboard = [] ## Enable opening links in a browser when an egui hyperlink is clicked. links = ["webbrowser"] @@ -49,10 +48,10 @@ puffin = ["dep:puffin", "egui/puffin"] serde = ["egui/serde", "dep:serde"] ## Enables Wayland support. -wayland = ["winit/wayland", "bytemuck"] +wayland = ["winit/wayland", "bytemuck", "smithay-clipboard"] ## Enables compiling for x11. -x11 = ["winit/x11", "bytemuck"] +x11 = ["winit/x11", "bytemuck", "arboard"] [dependencies] egui = { version = "0.25.0", path = "../egui", default-features = false, features = [ diff --git a/crates/egui_glow/Cargo.toml b/crates/egui_glow/Cargo.toml index e4ed23cd9a8..7bd83192784 100644 --- a/crates/egui_glow/Cargo.toml +++ b/crates/egui_glow/Cargo.toml @@ -26,11 +26,8 @@ all-features = true [features] default = [] -## For the `winit` integration: -## enable cut/copy/paste to os clipboard. -## -## if disabled a clipboard will be simulated so you can still copy/paste within the egui app. -clipboard = ["egui-winit?/clipboard"] +## Deprecated, clipboard is automatically enabled with winit integration when x11 or wayland is selected +clipboard = [] ## For the `winit` integration: ## enable opening links in a browser when an egui hyperlink is clicked.