mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 07:20:38 +00:00
Re-export BodyDataStream
from axum (#2509)
This commit is contained in:
parent
791d5038a9
commit
d3112a40d5
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- **fixed:** Improve `debug_handler` on tuple response types ([#2201])
|
- **fixed:** Improve `debug_handler` on tuple response types ([#2201])
|
||||||
- **added:** Add `must_use` attribute to `Serve` and `WithGracefulShutdown` ([#2484])
|
- **added:** Add `must_use` attribute to `Serve` and `WithGracefulShutdown` ([#2484])
|
||||||
|
- **added:** Re-export `axum_core::body::BodyDataStream` from axum
|
||||||
|
|
||||||
[#2201]: https://github.com/tokio-rs/axum/pull/2201
|
[#2201]: https://github.com/tokio-rs/axum/pull/2201
|
||||||
[#2484]: https://github.com/tokio-rs/axum/pull/2484
|
[#2484]: https://github.com/tokio-rs/axum/pull/2484
|
||||||
|
@ -7,7 +7,7 @@ pub use http_body::Body as HttpBody;
|
|||||||
pub use bytes::Bytes;
|
pub use bytes::Bytes;
|
||||||
|
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use axum_core::body::Body;
|
pub use axum_core::body::{Body, BodyDataStream};
|
||||||
|
|
||||||
use http_body_util::{BodyExt, Limited};
|
use http_body_util::{BodyExt, Limited};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user