Re-export BodyDataStream from axum (#2509)

This commit is contained in:
David Pedersen 2024-01-11 21:56:22 +01:00 committed by GitHub
parent 791d5038a9
commit d3112a40d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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])
- **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
[#2484]: https://github.com/tokio-rs/axum/pull/2484

View File

@ -7,7 +7,7 @@ pub use http_body::Body as HttpBody;
pub use bytes::Bytes;
#[doc(inline)]
pub use axum_core::body::Body;
pub use axum_core::body::{Body, BodyDataStream};
use http_body_util::{BodyExt, Limited};