axum/axum-core/src
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
..
ext_traits Add RequestExt::{with_limited_body, into_limited_body} (#1420) 2022-09-28 20:20:47 +00:00
extract Type safe state inheritance (#1532) 2022-11-18 11:02:58 +00:00
response Generalize AppendHeaders to accept any impl IntoIterator (#1495) 2022-10-20 21:05:04 +02:00
body.rs Move FromRequest and IntoResponse into new axum-core crate (#564) 2021-11-30 13:46:13 +00:00
error.rs Add Error::into_inner (#1476) 2022-10-13 11:44:54 +02:00
lib.rs Add RequestExt::{with_limited_body, into_limited_body} (#1420) 2022-09-28 20:20:47 +00:00
macros.rs Refactor all_the_tuples! macros (#1413) 2022-09-25 15:22:40 +02:00