Cargo Features

[dependencies]
sickle_ui = { version = "0.4.0", default-features = false, features = ["dev", "disable-ui-context-placeholder-warn", "bevy_default_font", "observable", "dev_panels"] }
default = bevy_default_font, observable

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

dev

Enables dynamic_linking of bevy

bevy:

Force dynamic linking, which improves iterative compile times

disable-ui-context-placeholder-warn

Enables disable-ui-context-placeholder-warn of sickle_ui_scaffold

bevy_default_font default

Enables default_font of bevy

bevy:

Include a default font, containing only ASCII characters, at the cost of a 20kB binary size increase

observable default

Affects checkbox::CheckboxChanged, dropdown::DropdownChanged, radio_group::RadioButtonChanged, slider::SliderChanged

dev_panels

Affects sickle_ui::dev_panels