1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Use more workspace dependencies (#7596)

This commit is contained in:
Emil Ernerfeldt
2025-10-07 15:07:16 +02:00
committed by GitHub
parent 7fc80d8623
commit 843ceea90c
36 changed files with 92 additions and 154 deletions

View File

@@ -74,14 +74,11 @@ bytemuck = { workspace = true, optional = true }
document-features = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
webbrowser = { version = "1.0.0", optional = true }
webbrowser = { workspace = true, optional = true }
[target.'cfg(target_os = "ios")'.dependencies]
objc2 = { workspace = true }
objc2-foundation = { workspace = true, features = [
"std",
"NSThread",
] }
objc2.workspace = true
objc2-foundation = { workspace = true, features = ["std", "NSThread"] }
objc2-ui-kit = { workspace = true, features = [
"std",
"UIApplication",
@@ -95,14 +92,14 @@ objc2-ui-kit = { workspace = true, features = [
] }
[target.'cfg(any(target_os="linux", target_os="dragonfly", target_os="freebsd", target_os="netbsd", target_os="openbsd"))'.dependencies]
smithay-clipboard = { version = "0.7.2", optional = true }
smithay-clipboard = { workspace = true, optional = true }
# The wayland-cursor normally selected doesn't properly enable all the features it uses
# and thus doesn't compile as it is used in egui-winit. This is fixed upstream, so force
# a slightly newer version. Remove this when winit upgrades past this version.
wayland-cursor = { version = "0.31.1", default-features = false, optional = true }
wayland-cursor = { workspace = true, optional = true }
[target.'cfg(not(target_os = "android"))'.dependencies]
arboard = { version = "3.3", optional = true, default-features = false, features = [
"image-data",
arboard = { workspace = true, optional = true, features = [
"image-data",
] }