phoxal 0.40.2

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::*;

#[derive(phoxal::Api)]
struct Api {}

#[derive(Clone, Debug, serde::Deserialize, phoxal::Config)]
struct Config {}

#[phoxal::simulator(id = "clocked-simulator")]
struct ClockedSimulator;

#[phoxal::behavior]
impl ClockedSimulator {
    #[setup]
    async fn setup(_ctx: &mut SetupContext<Self>) -> Result<(Self, Self::Api)> {
        Ok((Self, Api {}))
    }
}

fn main() {
    let _inject = phoxal::raw::run_with_bus_clock::<
        ClockedSimulator,
        phoxal::participant::TestClock,
        std::future::Ready<()>,
    >;
}