rwf2 / multer

An async parser for multipart/form-data content-type in Rust
MIT License
156 stars 35 forks source link

feat: Expose poll_next_field so it can be used by frameworks that use pure Futures #50

Closed jaysonsantos closed 1 year ago

jaysonsantos commented 1 year ago

Ok, here I come again with the crazy ideas :D While implementing multer on warp (https://github.com/seanmonstar/warp/pull/1033) I saw that you already have a polling function for the next item, and it would be useful to have a clean implementation on warp without resorting to stream::unfold and whatnot. Is that a feasible change to be merged?

SergioBenitez commented 1 year ago

LGTM!

SergioBenitez commented 1 year ago

Released in 2.1.