Cargo Features
egui_glow has no features set by default.
[dependencies]
egui_glow = { version = "0.30.0", features = ["clipboard", "links", "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
- links
-
For the
winit
integration: enable opening links in a browser when an egui hyperlink is clicked.Enables links of optional egui-winit
- winit = egui-winit
-
Enable
winit
integration. On Linux, requires eitherwayland
orx11
Enables winit
Native:
Affects
egui_glow::winit
… - wayland
-
Enables Wayland support for winit.
- x11
-
Enables x11 support for 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.