- Update all instances of `State<T>` to borrow and drop anonymous lifetime
- Remove examples showing returning a `Response` instead of a `Responder`
since `Response` no longer implements `Responder`
* Use hyper re-export from rocket_http
This way, the hyper version corresponding to the current rocket version
is used for the tests.
* Use async version from rocket's master branch
* switch rocket version to master branch
(use release version once async is available)
* adapt code to incorporate changes from rocket and hyper
* Make Clippy happy again
* Make crate compile on Rust stable
Rocket meanwhile works on Rust stable, so there is no reason to be
limited to nightly.
* Fix GitHub CI build
* Use stable branch of Rust instead of broken minimum required nightly
version.
* Disable fail-fast to reveal all problems at once.
* Remove deletion of rust-toolchain file as the file is no longer
required/existing.
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
* Remove macro_use from examples
* Remove macro_use from log and rocket
* Remove macro_use for serde_derive
* Remove from examples
* Fix no-default features build failure
* 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
* 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