# 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 = "purrgress"
version = "0.4.24"
build = false
exclude = [
    ".github/*",
    "target/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, async-ready hierarchical stage machine tailored for P2P networks and game state trees."
documentation = "https://docs.rs"
readme = "README.md"
keywords = [
    "state-machine",
    "p2p",
    "gamedev",
    "bevy",
    "async",
]
categories = [
    "game-development",
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/Honami333/purrgress"

[features]
animator = [
    "purrgress-macros/animator",
    "scrap",
    "macros",
    "dep:petgraph",
]
bevy_ecs = ["dep:bevy_ecs"]
default = []
macros = ["dep:purrgress-macros"]
scrap = [
    "purrgress-macros/scrap",
    "macros",
    "dep:petgraph",
]
train = [
    "purrgress-macros/train",
    "macros",
    "dep:cursorvec",
]

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

[[example]]
name = "basic_test"
path = "examples/basic_test.rs"
required-features = ["scrap"]

[[example]]
name = "pandemonium_fps_test"
path = "examples/pandemonium_fps_test.rs"
required-features = [
    "animator",
    "scrap",
]

[[example]]
name = "purr_train"
path = "examples/purr_train.rs"
required-features = ["train"]

[[example]]
name = "work_under_tets"
path = "examples/work_under_tets.rs"
required-features = ["scrap"]

[dependencies.anyhow]
version = "1.0.103"

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

[dependencies.cursorvec]
version = "0.2.0"
optional = true

[dependencies.dyn-clone]
version = "1.0"

[dependencies.petgraph]
version = "0.8.3"
optional = true

[dependencies.purrgress-macros]
version = "0.4.1"
optional = true
