v0.2.0
- "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:
parent
36ec852a78
commit
198190fb08
|
@ -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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue