This PR contains all the changes necessary for staticfile to work with the new iron crate based on hyper 0.12.
However, the tests are not updated so far, as they need the crate iron_test to be updated, which has not happend so far. Thus, I marked this PR as WIP for now, but if we want to release without updating iron_test, we could also drop the tests for now.
In order to get everything working, I copied the source of HttpDate from hyper 0.11 (src/hyper/header/shared/httpdate.rs). Since this crate and hyper are both MIT licensed, I hope this should pose no problem.
This PR contains all the changes necessary for
staticfile
to work with the newiron
crate based onhyper
0.12.However, the tests are not updated so far, as they need the crate
iron_test
to be updated, which has not happend so far. Thus, I marked this PR as WIP for now, but if we want to release without updatingiron_test
, we could also drop the tests for now.In order to get everything working, I copied the source of HttpDate from hyper 0.11 (src/hyper/header/shared/httpdate.rs). Since this crate and hyper are both MIT licensed, I hope this should pose no problem.