[package]
edition = "2021"
name = "bevy_enum_event"
version = "0.3.2"
authors = ["Dr. Florian Mulks <dr@mulks.ac>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for Bevy event and message types - generates Event, Message, and EntityEvent types from enum variants with support for triggers, observers, buffered messaging, and entity propagation"
readme = "README.md"
keywords = [
"bevy",
"enum",
"events",
"messages",
"macro",
]
categories = ["game-development"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ffmulks/bevy_enum_event"
[features]
default = ["deref"]
deref = []
[lib]
name = "bevy_enum_event"
path = "src/lib.rs"
proc-macro = true
[[example]]
name = "basic"
path = "examples/basic.rs"
[[test]]
name = "all_patterns_integration"
path = "tests/all_patterns_integration.rs"
[[test]]
name = "check_override"
path = "tests/check_override.rs"
[[test]]
name = "derive_enum_events"
path = "tests/derive_enum_events.rs"
[[test]]
name = "derive_enum_messages"
path = "tests/derive_enum_messages.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "macro_usage"
path = "tests/macro_usage.rs"
[[test]]
name = "variant_propagate"
path = "tests/variant_propagate.rs"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0.107"
features = [
"full",
"visit",
]
[dev-dependencies.bevy]
version = "0.18"
default-features = false