mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Merge branch 'main' into theme_plugin
# Conflicts: # crates/egui/src/widget_style.rs
This commit is contained in:
@@ -28,6 +28,7 @@ workspace = true
|
||||
default = [
|
||||
"accesskit",
|
||||
"default_fonts",
|
||||
"links",
|
||||
"wayland", # Required for Linux support (including CI!)
|
||||
"web_screen_reader",
|
||||
"wgpu",
|
||||
@@ -66,7 +67,7 @@ experimental = ["egui/experimental"]
|
||||
glow = ["dep:egui_glow", "dep:glow", "dep:glutin-winit", "dep:glutin"]
|
||||
|
||||
## Enable saving app state to disk.
|
||||
persistence = ["dep:home", "egui-winit/serde", "egui/persistence", "ron", "serde"]
|
||||
persistence = ["egui-winit/serde", "egui/persistence", "ron", "serde"]
|
||||
|
||||
## Enables wayland support and fixes clipboard issue.
|
||||
##
|
||||
@@ -128,6 +129,9 @@ __screenshot = []
|
||||
## and capture screenshots. Off unless the env var is set; no-op on wasm.
|
||||
inspection = ["dep:egui_inspection", "accesskit"]
|
||||
|
||||
## Enables the `links` feature on `egui-winit`, allowing for links to open in browser.
|
||||
links = ["egui-winit/links"]
|
||||
|
||||
[dependencies]
|
||||
egui = { workspace = true, default-features = false, features = ["bytemuck"] }
|
||||
|
||||
@@ -151,7 +155,7 @@ serde = { workspace = true, optional = true }
|
||||
# -------------------------------------------
|
||||
# native:
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
egui-winit = { workspace = true, default-features = false, features = ["clipboard", "links"] }
|
||||
egui-winit = { workspace = true, default-features = false, features = ["clipboard"] }
|
||||
image = { workspace = true, features = ["png"] } # Needed for app icon
|
||||
winit = { workspace = true, default-features = false, features = ["rwh_06"] }
|
||||
|
||||
@@ -167,7 +171,6 @@ glutin-winit = { workspace = true, optional = true, default-features = false, fe
|
||||
"egl",
|
||||
"wgl",
|
||||
] }
|
||||
home = { workspace = true, optional = true }
|
||||
|
||||
# mac:
|
||||
[target.'cfg(any(target_os = "macos"))'.dependencies]
|
||||
@@ -212,7 +215,6 @@ image = { workspace = true, features = ["png"] } # For copying images
|
||||
js-sys.workspace = true
|
||||
percent-encoding.workspace = true
|
||||
wasm-bindgen.workspace = true
|
||||
wasm-bindgen-futures.workspace = true
|
||||
web-sys = { workspace = true, features = [
|
||||
"AddEventListenerOptions",
|
||||
"BinaryType",
|
||||
|
||||
Reference in New Issue
Block a user