-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async-multipart: impl Stream for Multipart<Bytes> #51
Conversation
de81e14
to
60db208
Compare
33dff9b
to
83f0150
Compare
Apologies, forgot about this PR, will take a look now! |
Looks like the set of lints needs an upgrade from v0.3 to v0.4 EmbarkStudios/rust-ecosystem#59 |
Yes, I've just pushed that, just need a rebase and this PR should be good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, sorry it took so long to look at it!
83f0150
to
c49d27c
Compare
So I realized that after I merged this that this change doesn't actually affect usage of the Multipart stream, as they are only ever sent, not received, which is what the |
Hey @Jake-Shadle I'm fine with no imminent release for this, since I'm able to use a git dependency.
Hmm, I am indeed using this new impl for sending. I have in-memory data to be uploaded and when I call |
Ahh ok, thanks for clarifying, I just glanced at the docs which seem to say the inverse. |
This allows for zero-copy when using hyper with https://docs.rs/hyper/0.14.10/hyper/struct.Body.html#method.wrap_stream