mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-06 00:00:17 +02:00
Re-export http_body::Body (#152)
Makes writing `IntoResponse` impls easier
This commit is contained in:
+2
-1
@@ -2,9 +2,10 @@
|
||||
|
||||
use crate::Error;
|
||||
use bytes::Bytes;
|
||||
use http_body::Body as _;
|
||||
use tower::BoxError;
|
||||
|
||||
#[doc(no_inline)]
|
||||
pub use http_body::Body as HttpBody;
|
||||
#[doc(no_inline)]
|
||||
pub use hyper::body::Body;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user