Cargo Features

[dependencies]
egui_struct = { version = "0.4.2", default-features = false, features = ["egui28", "indexmap", "i18n", "egui21", "egui22", "egui23", "egui24", "egui25", "egui26", "egui27"] }
default = egui28, i18n

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

egui28 default

Enables egui ^0.28, egui28 of egui_struct_macros

indexmap

Enables indexmap

i18n default

Enables i18n of egui_struct_macros

Features from optional dependencies

egui21 implicit feature

Enables egui ^0.21

egui dep is handled through feature to overcome cargo resolver not be able to select same egui version as used in rest of the app.
this allows egui_struct to work with newer egui through semver patch update breaking-change updates (0.4, 0.5, 1., 2., ...) will update default egui version feature to newest one.

egui22 implicit feature

Enables egui ^0.22

egui:

An easy-to-use immediate mode GUI that runs on both web and native

egui23 implicit feature

Enables egui ^0.23

egui24 implicit feature

Enables egui ^0.24

egui25 implicit feature

Enables egui ^0.25

egui26 implicit feature

Enables egui ^0.26

egui27 implicit feature

Enables egui ^0.27