magiclen / rocket-multipart-form-data

This crate provides a multipart parser for the Rocket framework.
MIT License
35 stars 14 forks source link

Example doesn't run as expected... #3

Closed emmanuelantony2000 closed 5 years ago

emmanuelantony2000 commented 5 years ago

I was running the examples, and it seems to me that it does not run as expected. No matter whichever file I try, the output is "Please input a file."

emmanuelantony2000 commented 5 years ago

I think there was some problem on my version of the html. Seems to be working fine.

magiclen commented 5 years ago

Can't you reproduce that?

emmanuelantony2000 commented 5 years ago

It was a mistake from my part. By the way can i contribute some refactoring to the library?

magiclen commented 5 years ago

Of course you can. Just submit the PR(s).

emmanuelantony2000 commented 5 years ago

Other than refactoring, should the formatting (rustfmt) be a separate pr?

magiclen commented 5 years ago

I think it is not necessary to run rustfmt on this project for now. I will do that for my all Rust projects with the same rustfmt.toml file in the future.