axum/axum-core/src/extract
David Pedersen 64960bb19c
Type safe state inheritance (#1532)
* Make state type safe

* fix examples

* remove unnecessary `#[track_caller]`s

* Router::into_service -> Router::with_state

* fixup docs

* macro docs

* add missing docs

* fix examples

* format

* changelog

* Update trybuild tests

* Make sure fallbacks are still inherited for opaque services (#1540)

* Document nesting routers with different state

* fix leftover conflicts
2022-11-18 11:02:58 +00:00
..
default_body_limit.rs Type safe state inheritance (#1532) 2022-11-18 11:02:58 +00:00
from_ref.rs Add #[derive(FromRef)] (#1430) 2022-10-10 18:40:14 +00:00
mod.rs Add RequestExt::{with_limited_body, into_limited_body} (#1420) 2022-09-28 20:20:47 +00:00
rejection.rs Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +02:00
request_parts.rs Add RequestExt::{with_limited_body, into_limited_body} (#1420) 2022-09-28 20:20:47 +00:00
tuple.rs Refactor all_the_tuples! macros (#1413) 2022-09-25 15:22:40 +02:00