Bump both Rocket and this library to 0.4.0 (#56)

* Bump to Rocket 0.4.0

* Bump to 0.4.0

Fixes #55
This commit is contained in:
Sergio Benitez 2018-12-12 13:23:51 -08:00 committed by Yong Wen Chua
parent 495317bd9e
commit d880c2a111
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "rocket_cors"
version = "0.4.0-rc.3"
version = "0.4.0"
license = "MIT/Apache-2.0"
authors = ["Yong Wen Chua <me@yongwen.xyz>"]
description = "Cross-origin resource sharing (CORS) for Rocket.rs applications"
@ -21,7 +21,7 @@ default = ["serialization"]
serialization = ["serde", "serde_derive", "unicase_serde", "url_serde"]
[dependencies]
rocket = "0.4.0-rc.2"
rocket = "0.4.0"
log = "0.3"
unicase = "2.0"
url = "1.5.1"

View File

@ -31,7 +31,7 @@ work, but they are subject to the minimum that Rocket sets.
Add the following to Cargo.toml:
```toml
rocket_cors = "0.4.0-rc.3"
rocket_cors = "0.4.0"
```
To use the latest `master` branch, for example:

View File

@ -29,7 +29,7 @@
//! Add the following to Cargo.toml:
//!
//! ```toml
//! rocket_cors = "0.4.0-rc.3"
//! rocket_cors = "0.4.0"
//! ```
//!
//! To use the latest `master` branch, for example:
@ -45,7 +45,7 @@
//! your `Cargo.toml` to:
//!
//! ```toml
//! rocket_cors = { version = "0.4.0-rc.3", default-features = false }
//! rocket_cors = { version = "0.4.0", default-features = false }
//! ```
//!
//! ## Usage