From 198190fb08c425a23197c9fbfa366f6dee4066c2 Mon Sep 17 00:00:00 2001 From: Yong Wen Chua Date: Mon, 24 Jul 2017 16:02:41 +0800 Subject: [PATCH] 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 (8eb782a7caf44b8d18b9c95f52b47be8aed0e060) - 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 --- Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3a51221..e2b53cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_cors" -version = "0.1.4" +version = "0.2.0" license = "Apache-2.0" authors = ["Yong Wen Chua "] build = "build.rs" diff --git a/README.md b/README.md index 80b48c8..25a7467 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ might work, but it's not guaranteed. Add the following to Cargo.toml: ```toml -rocket_cors = "0.1.4" +rocket_cors = "0.2.0" ``` To use the latest `master` branch, for example: diff --git a/src/lib.rs b/src/lib.rs index 49f4c6f..a59c51a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,7 +27,7 @@ //! Add the following to Cargo.toml: //! //! ```toml -//! rocket_cors = "0.1.4" +//! rocket_cors = "0.2.0" //! ``` //! //! To use the latest `master` branch, for example: