mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Use workspace dependencies for the egui crates
This commit is contained in:
@@ -121,7 +121,7 @@ x11 = ["egui-winit/x11", "egui-wgpu?/x11", "egui_glow?/x11"]
|
||||
__screenshot = []
|
||||
|
||||
[dependencies]
|
||||
egui = { path = "../egui", default-features = false, features = [
|
||||
egui = { workspace = true, default-features = false, features = [
|
||||
"bytemuck",
|
||||
"log",
|
||||
] }
|
||||
@@ -136,7 +136,7 @@ web-time.workspace = true
|
||||
## Enable this when generating docs.
|
||||
document-features = { version = "0.2", optional = true }
|
||||
|
||||
egui_glow = { path = "../egui_glow", optional = true, default-features = false }
|
||||
egui_glow = { workspace = true, optional = true, default-features = false }
|
||||
glow = { workspace = true, optional = true }
|
||||
# glutin stuck on old version of raw-window-handle:
|
||||
rwh_05 = { package = "raw-window-handle", version = "0.5.2", optional = true, features = [
|
||||
@@ -148,7 +148,7 @@ serde = { version = "1", optional = true, features = ["derive"] }
|
||||
# -------------------------------------------
|
||||
# native:
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
egui-winit = { path = "../egui-winit", default-features = false, features = [
|
||||
egui-winit = { workspace = true, default-features = false, features = [
|
||||
"clipboard",
|
||||
"links",
|
||||
] }
|
||||
@@ -159,7 +159,7 @@ winit = { workspace = true, default-features = false, features = ["rwh_06"] }
|
||||
|
||||
# optional native:
|
||||
directories-next = { version = "2", optional = true }
|
||||
egui-wgpu = { path = "../egui-wgpu", optional = true, features = [
|
||||
egui-wgpu = { workspace = true, optional = true, features = [
|
||||
"winit",
|
||||
] } # if wgpu is used, use it with winit
|
||||
pollster = { version = "0.3", optional = true } # needed for wgpu
|
||||
@@ -238,5 +238,5 @@ web-sys = { version = "0.3.58", features = [
|
||||
] }
|
||||
|
||||
# optional web:
|
||||
egui-wgpu = { path = "../egui-wgpu", optional = true } # if wgpu is used, use it without (!) winit
|
||||
egui-wgpu = { workspace = true, optional = true } # if wgpu is used, use it without (!) winit
|
||||
wgpu = { workspace = true, optional = true }
|
||||
|
||||
Reference in New Issue
Block a user