Axum Body Split
Tiny library to fix my annoyance with axum, where I sometimes just want a quick and dirty way to use an extractor implementing FromRequest twice.
Usage
Usage is like of any other extractor, but you need to add your state type as a type parameter (because FromRequest has access to the state, so it needs to know what type it is)
Example without state:
SplitBody:
Example with state:
SplitBody:
Examples
check out examples for examples of how to use this