Cargo Features

egui_glow has no features set by default.

[dependencies]
egui_glow = { version = "0.29.1", 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

Affects egui_glow::winit

wayland

Enables Wayland support for winit.

Enables wayland of optional winit

x11

Enables x11 support for winit.

Enables x11 of optional winit

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.

egui-winit winit?
document-features implicit feature

Enables document-features

Optional dependencies

Enable this when generating docs.