reposix-sim 0.11.2

In-process axum-based simulator of an issue-tracker REST API for reposix testing.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Axum middleware layers applied to the simulator router.
//!
//! Layer ordering matters (axum wraps: last `.layer()` call is outermost).
//! `build_router` attaches them in the order:
//!
//! ```text
//! handlers
//!     .layer(rate_limit::layer(rps))   // inner — rate limit before work
//!     .layer(audit::layer(state))      // outer — audit even rate-limited reqs
//! ```

pub mod audit;
pub mod rate_limit;