macro_rules! main { ($($body:tt)*) => { ... }; }
This macro is used to generate the main function for a given global type and service types. It will run all the services in parallel and wait for them to finish before exiting.
scuffle_bootstrap::main! { MyGlobal { scuffle_signal::SignalSvc, MyService, } }
Service
Global