diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index 87ab1d3b2c9..760b8c53787 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -85,7 +85,14 @@ puffin = [ ] ## Enables wayland support and fixes clipboard issue. -wayland = ["egui-winit/wayland", "egui-wgpu?/wayland", "egui_glow?/wayland", "glutin?/wayland", "glutin-winit?/wayland"] +wayland = [ + "egui-winit/wayland", + "egui-wgpu?/wayland", + "egui_glow?/wayland", + "glutin?/wayland", + "glutin-winit?/wayland", + "egui-winit/smithay-clipboard", +] ## Enable screen reader support (requires `ctx.options_mut(|o| o.screen_reader = true);`) on web. ## @@ -111,7 +118,16 @@ web_screen_reader = [ wgpu = ["dep:wgpu", "dep:egui-wgpu", "dep:pollster"] ## Enables compiling for x11. -x11 = ["egui-winit/x11", "egui-wgpu?/x11", "egui_glow?/x11", "glutin?/x11", "glutin?/glx", "glutin-winit?/x11", "glutin-winit?/glx"] +x11 = [ + "egui-winit/x11", + "egui-wgpu?/x11", + "egui_glow?/x11", + "glutin?/x11", + "glutin?/glx", + "glutin-winit?/x11", + "glutin-winit?/glx", + "egui-winit/arboard", +] ## If set, eframe will look for the env-var `EFRAME_SCREENSHOT_TO` and write a screenshot to that location, and then quit. ## This is used to generate images for examples. @@ -142,7 +158,6 @@ serde = { workspace = true, optional = true } # native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] egui-winit = { workspace = true, default-features = false, features = [ - "clipboard", "links", ] } image = { workspace = true, features = ["png"] } # Needed for app icon @@ -167,6 +182,10 @@ wgpu = { workspace = true, optional = true, features = [ # mac: [target.'cfg(any(target_os = "macos"))'.dependencies] +egui-winit = { workspace = true, default-features = false, features = [ + "arboard", + "links", +] } objc2 = "0.5.1" objc2-foundation = { version = "0.2.0", features = [ "block2", @@ -183,6 +202,10 @@ objc2-app-kit = { version = "0.2.0", features = [ # windows: [target.'cfg(any(target_os = "windows"))'.dependencies] +egui-winit = { workspace = true, default-features = false, features = [ + "arboard", + "links", +] } winapi = { version = "0.3.9", features = ["winuser"] } windows-sys = { workspace = true, features = [ "Win32_Foundation",