diff --git a/Cargo.toml b/Cargo.toml index 52a0792..647c208 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_cors" -version = "0.4.0" +version = "0.4.0-rc.1" license = "MIT/Apache-2.0" authors = ["Yong Wen Chua "] description = "Cross-origin resource sharing (CORS) for Rocket.rs applications" @@ -20,7 +20,7 @@ default = ["serialization"] serialization = ["serde", "serde_derive", "unicase_serde", "url_serde"] [dependencies] -rocket = { git = "https://github.com/SergioBenitez/Rocket", branch = "master" } +rocket = "0.4.0-rc.1" log = "0.3" unicase = "2.0" url = "1.5.1" diff --git a/README.md b/README.md index d02ae5e..7273ff9 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ work, but they are subject to the minimum that Rocket sets. Add the following to Cargo.toml: ```toml -rocket_cors = "0.4.0" +rocket_cors = "0.4.0-rc.1" ``` To use the latest `master` branch, for example: diff --git a/src/lib.rs b/src/lib.rs index 9bab9ac..57f022b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,7 +27,7 @@ //! Add the following to Cargo.toml: //! //! ```toml -//! rocket_cors = "0.4.0" +//! rocket_cors = "0.4.0-rc.1" //! ``` //! //! To use the latest `master` branch, for example: @@ -43,7 +43,7 @@ //! your `Cargo.toml` to: //! //! ```toml -//! rocket_cors = { version = "0.4.0", default-features = false } +//! rocket_cors = { version = "0.4.0-rc.1", default-features = false } //! ``` //! //! ## Usage