diff --git a/Cargo.toml b/Cargo.toml index be6f7c6..52a0792 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Yong Wen Chua "] description = "Cross-origin resource sharing (CORS) for Rocket.rs applications" homepage = "https://github.com/lawliet89/rocket_cors" repository = "https://github.com/lawliet89/rocket_cors" -documentation = "https://lawliet89.github.io/rocket_cors/" +documentation = "https://docs.rs/rocket_cors/" keywords = ["rocket", "cors"] categories = ["web-programming"] diff --git a/README.md b/README.md index 36ca826..d02ae5e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Repository](https://img.shields.io/github/tag/lawliet89/rocket_cors.svg)](https://github.com/lawliet89/rocket_cors) [![Crates.io](https://img.shields.io/crates/v/rocket_cors.svg)](https://crates.io/crates/rocket_cors) -- Documentation: [master branch](https://lawliet89.github.io/rocket_cors) | [stable](https://lawliet89.github.io/docs/rocket_cors/0.3.0/rocket_cors) +- Documentation: [master branch](https://lawliet89.github.io/rocket_cors) | [stable](https://docs.rs/rocket_cors) Cross-origin resource sharing (CORS) for [Rocket](https://rocket.rs/) applications @@ -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.3.0" +rocket_cors = "0.4.0" ``` To use the latest `master` branch, for example: diff --git a/src/lib.rs b/src/lib.rs index cad1949..9bab9ac 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,7 @@ //! [![Repository](https://img.shields.io/github/tag/lawliet89/rocket_cors.svg)](https://github.com/lawliet89/rocket_cors) //! [![Crates.io](https://img.shields.io/crates/v/rocket_cors.svg)](https://crates.io/crates/rocket_cors) //! -//! - Documentation: [master branch](https://lawliet89.github.io/rocket_cors) | [stable](https://lawliet89.github.io/docs/rocket_cors/0.3.0/rocket_cors) +//! - Documentation: [master branch](https://lawliet89.github.io/rocket_cors) | [stable](https://docs.rs/rocket_cors) //! //! Cross-origin resource sharing (CORS) for [Rocket](https://rocket.rs/) applications //! @@ -27,7 +27,7 @@ //! Add the following to Cargo.toml: //! //! ```toml -//! rocket_cors = "0.3.0" +//! rocket_cors = "0.4.0" //! ``` //! //! To use the latest `master` branch, for example: @@ -43,7 +43,7 @@ //! your `Cargo.toml` to: //! //! ```toml -//! rocket_cors = { version = "0.3.0", default-features = false } +//! rocket_cors = { version = "0.4.0", default-features = false } //! ``` //! //! ## Usage