Skip to content

Commit

Permalink
feat(body): reexport http_body::SizeHint
Browse files Browse the repository at this point in the history
Fix a minor papercut: you can't implement `hyper::body::HttpBody::size_hint` without importing `SizeHint` from another crate.
  • Loading branch information
erikdesjardins committed Jan 17, 2021
1 parent f821ecd commit 88f44da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/body/mod.rs
Expand Up @@ -17,6 +17,7 @@

pub use bytes::{Buf, Bytes};
pub use http_body::Body as HttpBody;
pub use http_body::SizeHint;

pub use self::aggregate::aggregate;
pub use self::body::{Body, Sender};
Expand Down

0 comments on commit 88f44da

Please sign in to comment.