mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Use more workspace dependencies (#7596)
This commit is contained in:
@@ -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",
|
||||
] }
|
||||
|
||||
Reference in New Issue
Block a user