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 wheneveregui_backend
is added without
somewhere in the dependency tree.default-features = false - egui_bytemuck
-
bytemuck
enables you to castepaint::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 asglam
andnalgebra
.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