Cargo Features

[dependencies]
egui_gl_glfw = { version = "0.1.6", default-features = false, features = ["clipboard", "glfw-default", "glfw-all", "glfw-with-window-handle-v0-5", "glfw-wayland", "glfw-sys", "glfw-raw-window-handle-v0-5", "glfw-raw-window-handle-v0-6", "egui-bytemuck", "egui-callstack", "egui-cint", "egui-color-hex", "egui-deadlock_detection", "egui-default_fonts", "egui-log", "egui-mint", "egui-persistence", "egui-puffin", "egui-rayon", "egui-serde"] }
default = clipboard, egui-default_fonts, glfw-raw-window-handle-v0-6, glfw-sys

These default features are set whenever egui_gl_glfw is added without default-features = false somewhere in the dependency tree.

clipboard default

Enables cli-clipboard

glfw-default

glfw features

Enables glfw

glfw-all

Enables all of glfw

glfw-with-window-handle-v0-5

Enables with-window-handle-v0-5 of glfw

glfw-wayland

Enables wayland of glfw

glfw-sys default

Enables glfw-sys of glfw

glfw-raw-window-handle-v0-5

Enables raw-window-handle-v0-5 of glfw

glfw-raw-window-handle-v0-6 default

Enables raw-window-handle-v0-6 of glfw

egui-bytemuck

egui features

Enables bytemuck of egui

egui-callstack

Enables callstack of egui

egui:

Show a debug-ui on hover including the stacktrace to the hovered item.
This is very useful in finding the code that creates a part of the UI.
Does not work on web.

egui-cint

Enables cint of egui

egui:

cint enables interoperability with other color libraries.

egui-color-hex

Enables color-hex of egui

egui:

Enable the hex_color macro.

egui-deadlock_detection

Enables deadlock_detection of egui

egui:

This will automatically detect deadlocks due to double-locking on the same thread. If your app freezes, you may want to enable this! Only affects epaint::mutex::RwLock (which egui uses a lot).

egui-default_fonts default

Enables default_fonts of egui

egui:

If set, egui will use include_bytes! to bundle some fonts. If you plan on specifying your own fonts you may disable this feature.

egui-log

Enables log of egui

egui:

Turn on the log feature, that makes egui log some errors using the log crate.

egui-mint

Enables mint of egui

egui:

mint enables interoperability with other math libraries such as glam and nalgebra.

egui-persistence

Enables persistence of egui

egui:

Enable persistence of memory (window positions etc).

egui-puffin

Enables puffin of egui

egui:

Enable profiling with the puffin crate.

Only enabled on native, because of the low resolution (1ms) of clocks in browsers.

egui-rayon

Enables rayon of egui

egui:

Enable parallel tessellation using rayon.

This can help performance for graphics-intense applications.

egui-serde

Enables serde of egui

egui:

Allow serialization using serde.