rskit-component — component lifecycle primitives
rskit-component defines the shared lifecycle contract used by services and infrastructure components: Component, ordered Registry, health reports, state tracking, registry configuration, and shutdown results.
Install
[]
= "0.2.0-alpha.1"
= "0.2.0-alpha.1"
= "0.1"
= { = "1", = ["macros", "rt-multi-thread"] }
Quick start
use async_trait;
use Arc;
use ;
use AppResult;
;
async
When to use
Use rskit-component when a type has explicit start, stop, and health semantics. Use rskit-bootstrap when you need full application lifecycle orchestration around a component registry.