Files
axum/axum-macros/tests/debug_handler/fail/generics.rs
T
David PedersenandJonas Platte 95e21c1940 Limit size of request bodies in Bytes extractor (#1362)
* Limit size of request bodies in `Bytes` extractor (#1346)

* Apply default limit to request body size

* Support disabling the default limit

* docs

* changelog

* fix doc test

* fix docs links

* Avoid unhelpful compiler suggestion (#1251)

Co-authored-by: Jonas Platte <[email protected]>
2022-09-10 09:55:28 +02:00

7 lines
99 B
Rust

use axum_macros::debug_handler;
#[debug_handler]
async fn handler<T>(extract: T) {}
fn main() {}