Cargo Features

[dependencies]
bevy_cobweb_ui = { version = "0.12.0", default-features = false, features = ["colors", "widgets", "editor", "serde", "hot_reload", "dev"] }
default = colors, widgets

Default features.

colors default editor? widgets

Enables built-in colors.

Affects builtin::colors

widgets default editor? = colors

Enables built-in widgets.

Affects builtin::widgets

editor = colors, hot_reload, widgets

Enables the built-in experimental COB editor.

Enables foldhash

Editor deps

Affects bevy_cobweb_ui::editor

serde

Enables Serialize/Deserialize on some built-in types.

Enables serialize of bevy

hot_reload dev? editor?

Enables hot-reloading. Note that embedded files are not hot-reloaded by default due to perf issues (see https://github.com/bevyengine/bevy/issues/17430). You'll need bevy's embedded_watcher feature.

Enables file_watcher of bevy

Affects loadable::SceneNodeBuilt

dev = hot_reload

Dev features. Enables hot-reloading.

Enables dynamic_linking of bevy