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
15
16
17
use axum::Router;

/// The Arcature HTTP application kernel.
///
/// `App<S>` wraps an [`axum::Router<S>`]. The state type parameter `S` is the
/// state Axum handlers on this app may extract via
/// [`axum::extract::State`]; it defaults to `()` for a stateless app. The
/// compiler tracks `S` across construction — Arcature does not erase it.
///
/// Build with [`App::new`], [`App::from_router`], and the routing/composition
/// methods; resolve state with [`App::with_state`]; serve with
/// [`App::serve`] or [`App::serve_with_shutdown`].
///
/// [`axum::extract::State`]: axum::extract::State
pub struct App<S = ()> {
    pub(crate) router: Router<S>,
}