- "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
This commit is contained in:
Yong Wen Chua 2017-07-24 16:02:41 +08:00
parent 36ec852a78
commit 198190fb08
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_cors" name = "rocket_cors"
version = "0.1.4" version = "0.2.0"
license = "Apache-2.0" license = "Apache-2.0"
authors = ["Yong Wen Chua <me@yongwen.xyz>"] authors = ["Yong Wen Chua <me@yongwen.xyz>"]
build = "build.rs" build = "build.rs"

View File

@ -29,7 +29,7 @@ might work, but it's not guaranteed.
Add the following to Cargo.toml: Add the following to Cargo.toml:
```toml ```toml
rocket_cors = "0.1.4" rocket_cors = "0.2.0"
``` ```
To use the latest `master` branch, for example: To use the latest `master` branch, for example:

View File

@ -27,7 +27,7 @@
//! Add the following to Cargo.toml: //! Add the following to Cargo.toml:
//! //!
//! ```toml //! ```toml
//! rocket_cors = "0.1.4" //! rocket_cors = "0.2.0"
//! ``` //! ```
//! //!
//! To use the latest `master` branch, for example: //! To use the latest `master` branch, for example: