From 1406e8717c51c55d52276c053b6a6fab8c35d999 Mon Sep 17 00:00:00 2001 From: lucasmerlin Date: Wed, 2 Oct 2024 19:17:14 +0200 Subject: [PATCH] egui-wgpu: Fix docs.rs build (#5204) This enables the rwh_06 feature in winit which is required to correctly build egui-wgpu - fixes #5202 --- crates/egui-wgpu/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui-wgpu/Cargo.toml b/crates/egui-wgpu/Cargo.toml index 2cc9852921f..63be7df63f3 100644 --- a/crates/egui-wgpu/Cargo.toml +++ b/crates/egui-wgpu/Cargo.toml @@ -37,7 +37,7 @@ default = ["fragile-send-sync-non-atomic-wasm"] puffin = ["dep:puffin"] ## Enable [`winit`](https://docs.rs/winit) integration. On Linux, requires either `wayland` or `x11` -winit = ["dep:winit"] +winit = ["dep:winit", "winit/rwh_06"] ## Enables Wayland support for winit. wayland = ["winit?/wayland"]