[package]
edition = "2021"
name = "moku"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for creating hierarchical state machines (HSM)"
homepage = "https://github.com/harrisonmg/moku"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/harrisonmg/moku"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
std = ["moku-macros/std"]
[lib]
name = "moku"
path = "src/lib.rs"
[[example]]
name = "blinky"
path = "examples/blinky.rs"
[[example]]
name = "events"
path = "examples/events.rs"
[[example]]
name = "test_mock"
path = "examples/test_mock.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "compile_pass"
path = "tests/compile_pass.rs"
[[test]]
name = "comprehensive"
path = "tests/comprehensive.rs"
[[test]]
name = "default_state_actions"
path = "tests/default_state_actions.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "exact_transition"
path = "tests/exact_transition.rs"
[[test]]
name = "state_transitions"
path = "tests/state_transitions.rs"
[[test]]
name = "top_transitions"
path = "tests/top_transitions.rs"
[[test]]
name = "update_transitions"
path = "tests/update_transitions.rs"
[dependencies.bitflags]
version = "2.10.0"
[dependencies.log]
version = "0.4.22"
[dependencies.moku-macros]
version = "0.4.0"
[dev-dependencies.env_logger]
version = "0.11.6"
[dev-dependencies.test-log]
version = "0.2.16"
[dev-dependencies.trybuild]
version = "1.0.101"
features = ["diff"]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]