mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Remove tower from axum's public API (#229)
Instead rely on `tower-service` and `tower-layer`. `tower` itself is only used internally. Fixes https://github.com/tokio-rs/axum/issues/186
This commit is contained in:
+1
-1
@@ -1,3 +1,4 @@
|
||||
use crate::BoxError;
|
||||
use crate::{
|
||||
extract::{has_content_type, rejection::*, take_body, FromRequest, RequestParts},
|
||||
response::IntoResponse,
|
||||
@@ -15,7 +16,6 @@ use std::{
|
||||
convert::Infallible,
|
||||
ops::{Deref, DerefMut},
|
||||
};
|
||||
use tower::BoxError;
|
||||
|
||||
/// JSON Extractor/Response
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user