Cargo Features

egui_glow has no features set by default.

[dependencies]
egui_glow = { version = "0.27.2", features = ["clipboard", "links", "puffin", "winit", "wayland", "x11", "document-features"] }
clipboard

For the winit integration: enable cut/copy/paste to os clipboard.

if disabled a clipboard will be simulated so you can still copy/paste within the egui app.

Enables clipboard of optional egui-winit

For the winit integration: enable opening links in a browser when an egui hyperlink is clicked.

Enables links of optional egui-winit

puffin

Enable profiling with the puffin crate.

Enables puffin, puffin of egui and optional egui-winit

winit = egui-winit

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

Enables winit ^0.29.4

Affects egui_glow::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

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

document-features implicit feature

Enables document-features

### Optional dependencies
Enable this when generating docs.

egui-winit not wasm32 winit?