1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Use more workspace dependencies (#3975)

This commit is contained in:
Emil Ernerfeldt
2024-02-05 12:43:58 +01:00
committed by GitHub
parent a5f3881d59
commit bcebfecb84
15 changed files with 46 additions and 51 deletions

View File

@@ -88,11 +88,7 @@ puffin = [
]
## Enables wayland support and fixes clipboard issue.
wayland = [
"egui-winit/wayland",
"egui-wgpu?/wayland",
"egui_glow?/wayland",
]
wayland = ["egui-winit/wayland", "egui-wgpu?/wayland", "egui_glow?/wayland"]
## Enable screen reader support (requires `ctx.options_mut(|o| o.screen_reader = true);`) on web.
##
@@ -109,7 +105,7 @@ web_screen_reader = [
## By default, only WebGPU is enabled on web.
## If you want to enable WebGL, you need to turn on the `webgl` feature of crate `wgpu`:
##
## ```ignore
## ```toml
## wgpu = { version = "*", features = ["webgpu", "webgl"] }
## ```
##
@@ -118,11 +114,7 @@ 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",
]
x11 = ["egui-winit/x11", "egui-wgpu?/x11", "egui_glow?/x11"]
## 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.
@@ -133,16 +125,16 @@ egui = { version = "0.25.0", path = "../egui", default-features = false, feature
"bytemuck",
"log",
] }
log = { version = "0.4", features = ["std"] }
parking_lot = "0.12"
document-features.workspace = true
log.workspace = true
parking_lot.workspace = true
raw-window-handle.workspace = true
static_assertions = "1.1.0"
thiserror.workspace = true
web-time.workspace = true
#! ### Optional dependencies
## Enable this when generating docs.
document-features = { version = "0.2", optional = true }
# Optional dependencies
egui_glow = { version = "0.25.0", path = "../egui_glow", optional = true, default-features = false }
glow = { workspace = true, optional = true }