Cargo Features
[dependencies]
bevy_state = { version = "0.15.0-rc.3", default-features = false, features = ["bevy_reflect", "bevy_app", "bevy_hierarchy"] }
- default = bevy_app, bevy_hierarchy, bevy_reflect
-
These default features are set whenever
bevy_state
is added without
somewhere in the dependency tree.default-features = false - bevy_reflect default
-
Enables bevy_reflect, bevy_reflect of bevy_ecs
Affects
app::AppExtStates.register_type_state
,app::AppExtStates.register_type_mutable_state
,bevy_state::reflect
… - bevy_app default
-
Enables bevy_app
Affects
bevy_state::app
,bevy_state::state_scoped_events
… - bevy_hierarchy default
-
Enables bevy_hierarchy