1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-02-27 22:28:17 +01:00
axum/examples/key-value-store
David Pedersen 64960bb19c
Type safe state inheritance ()
* 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 ()

* Document nesting routers with different state

* fix leftover conflicts
2022-11-18 11:02:58 +00:00
..
src Type safe state inheritance () 2022-11-18 11:02:58 +00:00
Cargo.toml Fix Handler::with_state not working if request body was changed via layer () 2022-11-18 11:00:52 +01:00