Browse Source

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
pull/5214/head
lucasmerlin 1 month ago
committed by GitHub
parent
commit
1406e8717c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      crates/egui-wgpu/Cargo.toml

2
crates/egui-wgpu/Cargo.toml

@ -37,7 +37,7 @@ default = ["fragile-send-sync-non-atomic-wasm"]
puffin = ["dep:puffin"] puffin = ["dep:puffin"]
## Enable [`winit`](https://docs.rs/winit) integration. On Linux, requires either `wayland` or `x11` ## 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. ## Enables Wayland support for winit.
wayland = ["winit?/wayland"] wayland = ["winit?/wayland"]

Loading…
Cancel
Save