Cargo Features
[dependencies]
cuicui_layout = { version = "0.12.0", default-features = false, features = ["debug", "debug_bevy_ui", "reflect", "chirp", "dsl"] }
- default = chirp, dsl, reflect
-
These default features are set whenever
cuicui_layout
is added without
somewhere in the dependency tree.default-features = false - debug
-
Enable debug overlay
Enables bevy_core_pipeline, bevy_gizmos and bevy_render of bevy ^0.12.0
Affects
cuicui_layout::debug
… - debug_bevy_ui
-
This is a workaround to NOT depend on bevy_ui for debug, yet supporting setups to draw on top of UI.
Enables bevy_ui of bevy ^0.12.0
- reflect default
- chirp default = cuicui_chirp
-
Enable chirp ParseDsl implementation for LayoutDsl
- dsl default = cuicui_dsl
-
Enable dsl! DslBundle implementation for LayoutDsl
Affects
cuicui_layout::dsl
,cuicui_layout::dsl_functions
…
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.