- 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
This commit is contained in:
Yong Wen Chua 2017-11-06 15:28:23 +08:00
parent 44211b27d8
commit c99083af5d
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_cors" name = "rocket_cors"
version = "0.2.0" version = "0.2.1"
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.2.0" rocket_cors = "0.2.1"
``` ```
To use the latest `master` branch, for example: To use the latest `master` branch, for example:

View File

@ -11,7 +11,7 @@ use version_check::{is_nightly, is_min_version, is_min_date};
// Specifies the minimum nightly version that is targetted // Specifies the minimum nightly version that is targetted
// Note that sometimes the `rustc` date might be older than the nightly version, // Note that sometimes the `rustc` date might be older than the nightly version,
// usually one day older // 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"; const MIN_VERSION: &'static str = "1.22.0-nightly";
// Convenience macro for writing to stderr. // Convenience macro for writing to stderr.

View File

@ -27,7 +27,7 @@
//! Add the following to Cargo.toml: //! Add the following to Cargo.toml:
//! //!
//! ```toml //! ```toml
//! rocket_cors = "0.2.0" //! rocket_cors = "0.2.1"
//! ``` //! ```
//! //!
//! To use the latest `master` branch, for example: //! To use the latest `master` branch, for example:
@ -43,7 +43,7 @@
//! your `Cargo.toml` to: //! your `Cargo.toml` to:
//! //!
//! ```toml //! ```toml
//! rocket_cors = { version = "0.2.0", default-features = false } //! rocket_cors = { version = "0.2.1", default-features = false }
//! ``` //! ```
//! //!
//! ## Usage //! ## Usage