Cargo Features

bevy_ui has no features set by default.

[dependencies]
bevy_ui = { version = "0.18.0", features = ["serialize", "bevy_picking", "ghost_nodes"] }
serialize = serde

Enables serde of smallvec and serialize of bevy_math and bevy_platform

bevy_platform:

Functionality

Adds serialization support through serde.

bevy_picking

Enables bevy_picking and uuid

Affects bevy_ui::picking_backend, viewport::viewport_picking

ghost_nodes

Experimental features

Affects ghost_hierarchy::GhostNode, ghost_hierarchy::UiRootNodes, ghost_hierarchy::UiChildren, ghost_hierarchy::UiChildrenIter

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde serialize?