Cargo Features
bevy_ui has no features set by default.
[dependencies]
bevy_ui = { version = "0.16.0-rc.2", features = ["serialize", "bevy_ui_picking_backend", "bevy_ui_debug", "ghost_nodes"] }
- serialize = serde
-
Enables serde of smallvec and serialize of bevy_math and bevy_platform_support
bevy_platform_support:
Functionality
Adds serialization support through
serde
. - bevy_ui_picking_backend = bevy_picking
-
Affects
bevy_ui::picking_backend
… - bevy_ui_debug
- 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.