state-macro 0.1.1

Syntax sugar for stateful functions
Documentation
[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.syn]
features = ["full", "extra-traits", "visit", "visit-mut"]
version = "2.0"

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

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

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

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

[lib]
name = "state_macro"
path = "src/lib.rs"
proc-macro = true

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Syntax sugar for stateful functions"
documentation = "https://docs.rs/state-macro"
edition = "2024"
license = "MIT"
name = "state-macro"
readme = "README.md"
repository = "https://github.com/statusfailed/state-macro"
version = "0.1.1"

[[test]]
name = "lib"
path = "tests/lib.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"