- 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>
* 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
* Bump rocket to 0.3.6
- Remove `build.rs` - the minimum nightly version is enforced by Rocket
- Remove the pinning to a specific Nightly version. The latest nightly
should work.
- Added a minimum nightly matrix
* Fix Rocket's minimum
* Fix travis build script
- Bumped nightly requirement to at least `nightly-2017-09-26`
- `serde` is now gated behind a feature flag, enabled by default
- Some small cleanup changes
- "Truly manual" mode is added (#22)
- Fairing's `on_response` will now log to info whenever it turns a missing OPTIONS
into a CORS preflight response (8eb782a7ca)
- Add a "catch all" OPTIONS route to automatically respond to preflight OPTIONS
check from the `Cors` in Rocket's managed state (#24)
- Bump minimum supported Rust nightly
* 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