mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +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
@@ -81,7 +81,7 @@ macro_rules! define_rejection {
|
||||
impl $name {
|
||||
pub(crate) fn from_err<E>(err: E) -> Self
|
||||
where
|
||||
E: Into<tower::BoxError>,
|
||||
E: Into<crate::BoxError>,
|
||||
{
|
||||
Self(crate::Error::new(err))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user