Cargo Features

egui-wgpu has no features set by default.

[dependencies]
egui-wgpu = { version = "0.27.2", features = ["puffin", "winit", "wayland", "x11"] }
puffin

Enable profiling with the puffin crate.

Enables puffin

winit

Enable winit integration. On Linux, requires either wayland or x11

Enables winit ^0.29.4

Optional dependencies:

Affects egui-wgpu::winit

wayland

Enables Wayland support for winit.

Enables wayland of optional winit ^0.29.4

x11

Enables x11 support for winit.

Enables x11 of optional winit ^0.29.4