mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Emilk/revert workspace deps (#3942)
* Closes https://github.com/emilk/egui/issues/3941 Workspace dependencies can be annoying. If you don't set them to `default-features=false`, then you cannot opt out of their default features anywhere else, and get warnings if you try. So you set `default-features=false`, and then you need to manually opt in to the default features everywhere else. Or, as in my case, don't. I don't have the energy to do this tonight, so I'll just revert.
This commit is contained in:
@@ -50,7 +50,9 @@ x11 = ["winit?/x11"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
egui = { workspace = true, default-features = false, features = ["bytemuck"] }
|
||||
egui = { version = "0.25.0", path = "../egui", default-features = false, features = [
|
||||
"bytemuck",
|
||||
] }
|
||||
|
||||
bytemuck = "1.7"
|
||||
glow.workspace = true
|
||||
@@ -67,7 +69,7 @@ document-features = { version = "0.2", optional = true }
|
||||
|
||||
# Native:
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
egui-winit = { workspace = true, optional = true, default-features = false }
|
||||
egui-winit = { version = "0.25.0", path = "../egui-winit", optional = true, default-features = false }
|
||||
puffin = { workspace = true, optional = true }
|
||||
winit = { workspace = true, optional = true, default-features = false, features = [
|
||||
"rwh_05", # glutin stuck on old version of raw-window-handle
|
||||
|
||||
Reference in New Issue
Block a user