From 4ceb629ea40a78f7dd943ab45c9660ca85b7020a Mon Sep 17 00:00:00 2001 From: Stanislav Tkach Date: Fri, 5 May 2017 23:19:32 +0300 Subject: [PATCH] Add html_root_url attribute --- Cargo.toml | 1 + src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9634b266d..2a967b576 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "url" +# When updating version, also modify html_root_url in the lib.rs version = "1.4.0" authors = ["The rust-url developers"] diff --git a/src/lib.rs b/src/lib.rs index e64af8f82..c68683709 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -90,6 +90,8 @@ let css_url = this_document.join("../main.css").unwrap(); assert_eq!(css_url.as_str(), "http://servo.github.io/rust-url/main.css") */ +#![doc(html_root_url = "https://docs.rs/url/1.4.0")] + #[cfg(feature="rustc-serialize")] extern crate rustc_serialize; #[macro_use] extern crate matches; #[cfg(feature="serde")] extern crate serde;