Skip to content

Commit

Permalink
Re-export BodyDataStream from axum (#2509)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn authored Jan 11, 2024
1 parent 791d503 commit d3112a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions axum/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion axum/src/body/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit d3112a4

Please sign in to comment.