[package]
edition = "2024"
name = "stateless"
version = "0.4.0"
authors = ["Matthew Berger <matthewjordanberger@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A lightweight, zero-cost state machine library that separates structure from behavior.\r
Guards and actions live in wrapper code, not the DSL.\r
"""
homepage = "https://github.com/matthewjberger/stateless"
readme = "README.md"
keywords = [
"state-machine",
"macro",
"enum",
"no-std",
]
license = "MIT"
repository = "https://github.com/matthewjberger/stateless"
[lib]
name = "stateless"
path = "src/lib.rs"
proc-macro = true
[[example]]
name = "demo"
path = "examples/demo.rs"
[[example]]
name = "hierarchical"
path = "examples/hierarchical.rs"
[[test]]
name = "state_machine_dsl"
path = "tests/state_machine_dsl.rs"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = ["full"]