Open arnodb opened 3 years ago
I replaced the multipart
crate with multer
and upgrade Rocket to 0.5.0-dev. The example can be compiled and works fine.
0a175ccc2138d7cc3e0360843814f126fc455f5c
Note that 0.5 already includes direct support for multipart forms. See FromForm
and the master
forms guide.
I wrote another example which uses a struct to derive FromForm
to try to do the same things that this example does.
Hi,
I've just spent some time making
rocket-multipart-form-data
compile againstrocket
'smaster
branch: https://github.com/impero-com/rocket-multipart-form-data/tree/rocket-0.5.The example actually does not compile because I didn't have the time to fix
rocket-etag-if-none-match
where I faced with a problem with hyper. However, I have quickly tested the whole thing with one use case and it seems to be working.If you are interested in moving forward with this, I would be keen to do additional work.