mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +02:00
Reorganize method routers for handlers and services (#405)
* Re-organize method routing for handlers * Re-organize method routing for services * changelog
This commit is contained in:
@@ -8,8 +8,8 @@ use axum::{
|
||||
async_trait,
|
||||
extract::rejection::JsonRejection,
|
||||
extract::{FromRequest, RequestParts},
|
||||
handler::post,
|
||||
http::StatusCode,
|
||||
routing::post,
|
||||
BoxError, Router,
|
||||
};
|
||||
use serde::{de::DeserializeOwned, Deserialize};
|
||||
|
||||
Reference in New Issue
Block a user