Arcature application framework: a high-level Application facade over the certified Arcature subsystems, with the low-level Axum/Tower escape hatch preserved.
usesuper::App;useaxum::routing::MethodRouter;impl<S>App<S>where
S: Clone + Send + Sync + 'static,
{/// Register a route on the application.
////// Thinly forwards to [`axum::Router::route`], taking a path and an Axum
/// [`MethodRouter`] (e.g. built with [`axum::routing::get`] /
/// [`axum::routing::post`]). Use the re-exported
/// [`crate::axum::routing`] to build the method router through Arcature's
/// certified version.
pubfnroute(self, path:&str, method_router:MethodRouter<S>)->Self{
App {
router:self.router.route(path, method_router),}}}