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
This commit is contained in:
parent
44211b27d8
commit
c99083af5d
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "rocket_cors"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
license = "Apache-2.0"
|
||||
authors = ["Yong Wen Chua <me@yongwen.xyz>"]
|
||||
build = "build.rs"
|
||||
|
|
|
@ -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:
|
||||
|
|
2
build.rs
2
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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue