[package]
edition = "2024"
rust-version = "1.85.1"
name = "essm"
version = "0.3.0"
authors = ["Christian Thäter <ct@pipapo.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "extremely simple state machine"
documentation = "https://docs.rs/essm"
readme = "README.md"
keywords = [
"statemachine",
"typestate",
"traits",
]
categories = [
"embedded",
"no-std",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://seed.pipapo.org/nodes/seed.pipapo.org/rad:zFXJWoHVPvXqEXCsbo4uoDZZ2TNp"
[lib]
name = "essm"
path = "src/lib.rs"
[[example]]
name = "01_trafficlight"
path = "examples/01_trafficlight/main.rs"
[[example]]
name = "02_vending"
path = "examples/02_vending/main.rs"
[lints.clippy]
dbg_macro = "forbid"
items_after_statements = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unknown_lints = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]
[lints.rustdoc]
missing_crate_level_docs = "warn"
missing_doc_code_examples = "warn"