Cargo Features

[dependencies]
pyri_state = { version = "0.2.0-rc.0", 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 state configuration tools for App.

Enables bevy_app, bevy_app of pyri_state_derive

Affects bevy_state::BevyStatePlugin, debug::LogFlushPlugin, entity_scope::EntityScopePlugin, extra::app

bevy_reflect default

Derive Reflect for the types in this crate.

Enables bevy_reflect, bevy_reflect of bevy_ecs

bevy_state default

Enable BevyState as an ecosystem compatibility tool.

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 extra::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 StateSequence storage type.

Affects extra::sequence

split default

Enable split states as a code organization tool.

Affects extra::split

stack default

Enable the StateStack storage type.

Affects extra::stack