pyri_state 0.6.0

A flexible `bevy_state` alternative
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "pyri_state"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexible `bevy_state` alternative"
readme = "README.md"
keywords = [
    "ecs",
    "game",
    "bevy",
]
categories = [
    "game-engines",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/benfrankel/pyri_state"

[package.metadata.bevy_lint]
pedantic = "warn"

[features]
bevy_app = [
    "dep:bevy_app",
    "pyri_state_derive/bevy_app",
]
bevy_reflect = [
    "dep:bevy_reflect",
    "bevy_ecs/bevy_reflect",
]
bevy_state = [
    "dep:bevy_state",
    "pyri_state_derive/bevy_state",
]
debug = [
    "dep:bevy_diagnostic",
    "dep:bevy_log",
    "pyri_state_derive/debug",
]
default = [
    "bevy_app",
    "bevy_reflect",
    "bevy_state",
    "debug",
    "react",
    "sequence",
    "split",
    "stack",
]
react = [
    "dep:bevy_camera",
    "pyri_state_derive/react",
]
sequence = []
split = []
stack = []

[lib]
name = "pyri_state"
path = "src/lib.rs"

[[example]]
name = "bevy_state"
path = "examples/bevy_state.rs"

[[example]]
name = "configuration"
path = "examples/configuration.rs"

[[example]]
name = "dependent_states"
path = "examples/dependent_states.rs"

[[example]]
name = "direct_mutation"
path = "examples/direct_mutation.rs"

[[example]]
name = "disable_enable"
path = "examples/disable_enable.rs"

[[example]]
name = "next_state"
path = "examples/next_state.rs"

[[example]]
name = "next_state_sequence"
path = "examples/next_state_sequence.rs"

[[example]]
name = "next_state_stack"
path = "examples/next_state_stack.rs"

[[example]]
name = "pattern_matching"
path = "examples/pattern_matching.rs"

[[example]]
name = "refresh"
path = "examples/refresh.rs"

[[example]]
name = "split_state"
path = "examples/split_state.rs"

[dependencies.bevy_app]
version = "0.18"
optional = true
default-features = false

[dependencies.bevy_camera]
version = "0.18"
optional = true
default-features = false

[dependencies.bevy_diagnostic]
version = "0.18"
optional = true
default-features = false

[dependencies.bevy_ecs]
version = "0.18"
default-features = false

[dependencies.bevy_log]
version = "0.18"
optional = true
default-features = false

[dependencies.bevy_reflect]
version = "0.18"
optional = true
default-features = false

[dependencies.bevy_state]
version = "0.18"
features = ["bevy_app"]
optional = true
default-features = false

[dependencies.pyri_state_derive]
version = "=0.6.0"

[dependencies.tiny_bail]
version = "0.7"

[dev-dependencies.bevy]
version = "0.18"
features = [
    "bevy_core_pipeline",
    "bevy_log",
    "bevy_winit",
    "x11",
    "multi_threaded",
]
default-features = false

[dev-dependencies.iyes_progress]
version = "0.16"

[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.rust]
missing_docs = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(bevy_lint)"]