fn build_router(pool: PgPool) -> RouterExpand description
Builds the axum Router with all routes and shared state.
Extracted from serve so it can be exercised without standing up
a TCP listener — useful for route-table regression tests and for
driving the handlers via tower::ServiceExt::oneshot in integration
tests.