arcature 2026.2.0

Arcature application framework: a high-level Application facade over the certified Arcature subsystems, with the low-level Axum/Tower escape hatch preserved.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::App;
use axum::Router;

impl<S> App<S> {
    /// Bring a raw [`axum::Router`] into Arcature.
    ///
    /// This is one side of the Axum escape hatch (the other being
    /// [`App::into_router`]). It lets a developer construct and configure an
    /// Axum router directly with the full upstream ecosystem, then move it
    /// into Arcature for serving. The state type `S` is preserved as-is.
    pub fn from_router(router: Router<S>) -> Self {
        App { router }
    }
}