mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +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:
+3
-3
@@ -4,10 +4,10 @@ use crate::error_handling::HandleErrorLayer;
|
||||
use crate::BoxError;
|
||||
use crate::{
|
||||
extract::{self, Path},
|
||||
handler::{any, delete, get, on, patch, post, Handler},
|
||||
handler::Handler,
|
||||
response::IntoResponse,
|
||||
routing::MethodFilter,
|
||||
service, Json, Router,
|
||||
routing::{any, delete, get, on, patch, post, service_method_router as service, MethodFilter},
|
||||
Json, Router,
|
||||
};
|
||||
use bytes::Bytes;
|
||||
use http::{
|
||||
|
||||
Reference in New Issue
Block a user