1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Allow users to opt-out of default winit features (#3228)

* Do not enable winit features by default

* Enable default winit features by default

* Add x11 feature
This commit is contained in:
Emil Ernerfeldt
2023-08-10 17:09:01 +02:00
committed by GitHub
parent d568d9f5d0
commit 7e035c6dd1
4 changed files with 18 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ wgpu = "0.16.0"
## Enable this when generating docs.
document-features = { version = "0.2", optional = true }
winit = { version = "0.28", optional = true }
winit = { version = "0.28", default-features = false, optional = true }
# Native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]