Cargo Features

[dependencies]
egui_backend = { version = "0.4.0", default-features = false, features = ["egui_bytemuck", "egui_cint", "egui_color-hex", "egui_deadlock_detection", "egui_default_fonts", "egui_extra_debug_asserts", "egui_extra_asserts", "egui_mint", "egui_persistence", "egui_serde"] }
default = egui_default_fonts

The egui_default_fonts feature is set by default whenever egui_backend is added without default-features = false somewhere in the dependency tree.

egui_bytemuck

bytemuck enables you to cast epaint::Vertex, emath::Vec2 etc to &[u8].

Enables bytemuck of egui ^0.22

egui_cint

cint enables interopability with other color libraries.

Enables cint of egui ^0.22

egui_color-hex

Enable the hex_color macro.

Enables color-hex of egui ^0.22

egui_deadlock_detection

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).

Enables deadlock_detection of egui ^0.22

egui_default_fonts default

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

Enables default_fonts of egui ^0.22

egui_extra_debug_asserts

Enable additional checks if debug assertions are enabled (debug builds).

Enables extra_debug_asserts of egui ^0.22

egui_extra_asserts

Always enable additional checks.

Enables extra_asserts of egui ^0.22

egui_mint

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

Enables mint of egui ^0.22

egui_persistence

Enable persistence of memory (window positions etc).

Enables persistence of egui ^0.22

egui_serde

Allow serialization using serde.

Enables serde of egui ^0.22