id_effect_cli 0.3.0

CLI helpers for id_effect: optional clap, Exit/Cause → ExitCode, tracing init, run_main
Documentation
1
2
3
4
5
6
7
8
9
//! Admin stub routes for {{name}}

use axum::{Router, routing::get};

pub fn admin_router() -> Router {
  Router::new()
    .route("/admin", get(|| async { "admin home (stub)" }))
    .route("/admin/health", get(|| async { "ok" }))
}