9 releases (5 breaking)

0.15.0 Sep 9, 2023
0.14.1 Aug 25, 2023
0.13.0 Jul 28, 2023
0.12.0 Jul 27, 2023
0.0.0 Apr 2, 2023

#44 in #validation

Download history 53/week @ 2023-06-05 38/week @ 2023-06-12 19/week @ 2023-06-19 19/week @ 2023-07-03 18/week @ 2023-07-10 15/week @ 2023-07-17 71/week @ 2023-07-24 40/week @ 2023-07-31 27/week @ 2023-08-07 25/week @ 2023-08-14 28/week @ 2023-08-21 46/week @ 2023-08-28 46/week @ 2023-09-04 68/week @ 2023-09-11 92/week @ 2023-09-18

252 downloads per month

MIT/Apache

95KB
2K SLoC

axum_garde

Provide garde validation on your axum application.

Getting started

The most important element on this library is WithValidation, a composable extractor that performs validation over some payload contents.

Features

Feature Description Default?
json Enables support for axum::extract::Json
form Enables support for axum::extract::Form
query Enables support for axum::extract::Query
axum-extra Enables support for axum_extra::extract::WithRejection and axum_extra::extract::Cached
axum-extra-protobuf Enables support for axum_extra::protobuf::Protobuf
axum-extra-query Enables support for axum_extra::extract::Query
axum-yaml Enables support for axum_yaml::Yaml
axum-msgpack Enables support for axum_msgpack::MsgPack and axum_msgpack::MsgPackRaw

Useful links

Dependencies

~7–19MB
~225K SLoC