From c99083af5d22fad25dbfd88bdf031e7745ea218a Mon Sep 17 00:00:00 2001 From: Yong Wen Chua Date: Mon, 6 Nov 2017 15:28:23 +0800 Subject: [PATCH] v0.2.1 - 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 --- Cargo.toml | 2 +- README.md | 2 +- build.rs | 2 +- src/lib.rs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2608fb1..b409e47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_cors" -version = "0.2.0" +version = "0.2.1" license = "Apache-2.0" authors = ["Yong Wen Chua "] build = "build.rs" diff --git a/README.md b/README.md index cbf795c..3b1d2d3 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.2.0" +rocket_cors = "0.2.1" ``` To use the latest `master` branch, for example: diff --git a/build.rs b/build.rs index e8700f6..cac0084 100644 --- a/build.rs +++ b/build.rs @@ -11,7 +11,7 @@ use version_check::{is_nightly, is_min_version, is_min_date}; // Specifies the minimum nightly version that is targetted // Note that sometimes the `rustc` date might be older than the nightly version, // usually one day older -const MIN_DATE: &'static str = "2017-09-04"; +const MIN_DATE: &'static str = "2017-09-25"; const MIN_VERSION: &'static str = "1.22.0-nightly"; // Convenience macro for writing to stderr. diff --git a/src/lib.rs b/src/lib.rs index 63af650..682203b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,7 +27,7 @@ //! Add the following to Cargo.toml: //! //! ```toml -//! rocket_cors = "0.2.0" +//! rocket_cors = "0.2.1" //! ``` //! //! To use the latest `master` branch, for example: @@ -43,7 +43,7 @@ //! your `Cargo.toml` to: //! //! ```toml -//! rocket_cors = { version = "0.2.0", default-features = false } +//! rocket_cors = { version = "0.2.1", default-features = false } //! ``` //! //! ## Usage