embassy-supervisor-macros 0.8.0

Proc-macros for embassy-supervisor: the task-graph declaration with its topological order computed at compile time, and the #[dataflow] attribute deriving a task's coupling tables from its body.
Documentation

embassy-supervisor-macros

crates.io docs.rs

Proc-macro crate for [embassy-supervisor]: the supervisor_graph! graph declaration macro plus compose_graph! for fragment assembly. Do not depend on this crate directly — use embassy_supervisor with its default macros feature, which re-exports the macro and forwards features here.

The macro's output references embassy-supervisor internals, so the supervisor pins this crate by exact version. Use it only as a dependency of embassy-supervisor.

Documentation

What the macro emits and the runtime contract behind it: The DSL for the input syntax, Task lifecycle for the generated glue's semantics.