Expand description
Procedural macros for the optative reconciler library.
lifecycle_trace— wraps aLifecycleimpl’senter/reconcile_self/exitwithtracingevents.Ephemeral— generates aDropimpl that reconciles managed sets to empty so theirexithooks run on drop.
§Requirements at the call site
The code these macros generate refers to crates by name. Any crate that uses
#[lifecycle_trace] must have serde_json and tracing in scope (as
standard for derive macros, they are not re-exported by this crate).
Attribute Macros§
- lifecycle_
trace - Wraps an
impl Lifecycle for Tblock so each lifecycle transition emits atracingevent.
Derive Macros§
- Ephemeral
- Generates a
Dropimpl that reconciles#[reconciler]-annotated fields to an empty desired set, running their managed items’exithooks on drop.