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
Marek Kuskowski
896ffc5fba
Remove ContentLengthLimit
( #1400 )
...
* feat: remove ContentLengthLimit
* feat: remove ContentLengthLimit rejections
* fix: update multipart docs
* fix: typo
* feat: add wip extractor code
* feat: revert "feat: add wip extractor code"
* fix: update Multipart docs
* fix: update examples
* fix: missing import in an example
* fix: broken import yet again
* fix: disable default body limit for example
* fix: key value store example
* fix: update expected debug_handler output
* chore: update CHANGELOG
* Update axum/CHANGELOG.md
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2022-09-24 11:29:53 +00:00
Jonas Platte
7705ef6661
Add #[derive(FromRequestParts)]
( #1305 )
...
* Add missing leading double colon
* Separate handling of last element in FromRequest derive
* FromRequestParts derive
* fix it and add lots of tests
* docs
* changelog
* Update axum-macros/src/lib.rs
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2022-08-23 19:14:02 +00:00