phoxal 0.46.0

Phoxal - production-oriented autonomous robot framework: the runtime engine and model (the api contract tree lives in phoxal-api, the typed bus in phoxal-bus).
Documentation
use phoxal::prelude::*;

#[phoxal::service(id = "unit-defaults")]
struct UnitDefaults;

impl Participant for UnitDefaults {
    async fn setup(
        &self,
        _ctx: &mut SetupContext<Self>,
        _config: Self::Config,
    ) -> Result<(Self::State, Self::Api)> {
        Ok(((), ()))
    }
}

fn main() {
    fn accepts<T: Participant<Config = (), State = (), Api = ()>>() {}
    accepts::<UnitDefaults>();
}