Cargo Features

[dependencies]
pyri_state = { version = "0.2.1", default-features = false, features = ["bevy_app", "bevy_reflect", "bevy_state", "debug", "entity_scope", "sequence", "split", "stack"] }
default = bevy_app, bevy_reflect, bevy_state, debug, entity_scope, sequence, split, stack

All features are enabled by default.

bevy_app default

Enable plugins and App extension traits.

Enables bevy_app, bevy_app of pyri_state_derive

bevy_reflect default

Derive Reflect for the types in this crate.

Enables bevy_reflect, bevy_reflect of bevy_ecs

bevy_state default

Enable the BevyState wrapper type for ecosystem compatibility.

Enables bevy_state, bevy_state of pyri_state_derive

Affects extra::bevy_state

debug default

Enable state debugging tools (e.g. on-flush logging).

Enables bevy_core and bevy_log, debug of pyri_state_derive

Affects pyri_state::debug

entity_scope default

Enable the StateScope component.

Enables bevy_hierarchy, entity_scope of pyri_state_derive

Affects extra::entity_scope

sequence default

Enable the NextStateIndex next state type.

Affects next_state::sequence

split default

Enable the SplitState code organization tool.

Affects extra::split

stack default

Enable the NextStateStack next state type.

Affects next_state::stack