vld-web
Request extractors and JSON error responses that validate with vld schemas, one module per web framework.
[]
= "0.8"
= { = "0.8", = ["axum"] }
use ;
use VldJson;
schema!
async
let app: Router = new.route;
| Module | Feature | Framework |
|---|---|---|
axum |
axum |
axum 0.8 |
actix |
actix |
actix-web 4 |
ntex3 / ntex4 |
ntex-3 / ntex-4 (+ ntex-compress) |
ntex 3 / 4 |
poem |
poem |
poem 3 |
rocket |
rocket |
Rocket 0.5 |
salvo |
salvo |
salvo 1 |
warp |
warp |
warp 0.3 – 0.4 |
rama |
rama |
rama 0.4 |
tower |
tower |
any Tower service |
tonic |
tonic |
tonic 0.12 – 0.14 |
common |
— | framework-agnostic helpers for custom adapters |
No feature is on by default; any set can be enabled together.
License
MIT