codesamplex

Sample

Protect axum routes with stateful middleware using from_fn_with_state, isolate route_layer from 404 fallbacks, and manage bottom-to-top layer execution order

sha256:0add9e86ea54fb151285ed7fff0ac6a073835d84159f6bfc43b6e447f030a7be

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Protect axum routes with stateful middleware using from_fn_with_state, isolate route_layer from 404 fallbacks, and manage bottom-to-top layer execution order HOW
Packages
axum 0.8.9 tower 0.5.3 http-body-util 0.1.5 tokio 1.53.1
Environment
rust
Created
2026-08-16T08:11:01Z

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts