Crate axum_duper

Crate axum_duper 

Source
Expand description

§Axum Duper

Duper extractor / response for [axum].

This crate provides the Duper struct, which can be used to extract typed information from request’s body, or to serialize a structured response.

Structs§

Duper
Duper extractor / response.

Enums§

DuperRejection
Rejection used for Duper.

Statics§

DUPER_ALT_CONTENT_TYPE
Alternative MIME type for Duper files, handled by the Duper extractor.
DUPER_CONTENT_TYPE
Default MIME type for Duper files.
JSON_CONTENT_TYPE
Default MIME type for JSON files, handled by the Duper extractor (given that Duper is a superset of JSON).