* switch rocket version to master branch
(use release version once async is available)
* adapt code to incorporate changes from rocket and hyper
Co-authored-by: Maximilian Köstler <maximilian@koestler.hamburg>
* Create `CorsOptions`
- `Cors` will be, in the future, an "optimised" or "compiled" version of
`CorsOptions`
- For now, `Cors` simply clones `CorsOptions` and `Deref`s to
`CorsOptions`.
* Update examples
* Remove usage of `Self` struct constructors
* Update Cargo.toml for Rocket `master`
* Prepare library for Rocket 0.4
TODO: check line 62 in `fairing.rs` to find better way than unwrapping
* Bump minimum nightly for Rocket 0.4
-removed conservative_impl_trait as it is no longer needed with the current compiler.
-removed allow(unmounted_route) as rocket no longer provides this linter.
* Bump Rocket, Rust version and remove impl trait flag
* Seems to build now
* Ignore Rocket documentation errors
* Update travis script
* Increase nightly version by a day
* Bump again
* Add validate to Cors
* Skeleton
* Refactor to allow for fairings to be even built
* Errors are not handled properly
* Response no longer validates
* Ad-hoc response now use response guards
* Seems like lifetime proliferation
* Wrap Response in a Guard with some dummy lifetime
* Fairing implementation
* Delay checking of CORS to just before responding
* Lifetime issues
* Use State::inner()
* Fix lifetime issues
* Bump Rocket
* Document 'static limitation
And link to https://github.com/SergioBenitez/Rocket/pull/345
* Remove extraneous comments