Bump to Rocket 0.4.0-rc.1 (#49)

This commit is contained in:
Yong Wen Chua 2018-11-01 09:20:24 +08:00 committed by GitHub
parent d993082991
commit a0d31cf498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@ -27,7 +27,7 @@
//! Add the following to Cargo.toml: //! Add the following to Cargo.toml:
//! //!
//! ```toml //! ```toml
//! rocket_cors = "0.4.0" //! rocket_cors = "0.4.0-rc.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.4.0", default-features = false } //! rocket_cors = { version = "0.4.0-rc.1", default-features = false }
//! ``` //! ```
//! //!
//! ## Usage //! ## Usage