From dc7ab2696a14fe5ca219ac09f8496bdc613ff602 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 13 Apr 2017 11:31:29 -0700 Subject: [PATCH] Point html_root_url to docs.rs --- serde/Cargo.toml | 2 +- serde/src/lib.rs | 3 ++- serde_derive/Cargo.toml | 2 +- serde_derive/src/lib.rs | 2 ++ serde_test/Cargo.toml | 2 +- serde_test/src/lib.rs | 2 ++ 6 files changed, 9 insertions(+), 4 deletions(-) diff --git a/serde/Cargo.toml b/serde/Cargo.toml index 3389dacf..221fd016 100644 --- a/serde/Cargo.toml +++ b/serde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serde" -version = "0.9.13" +version = "0.9.13" # remember to update html_root_url authors = ["Erick Tryzelaar "] license = "MIT/Apache-2.0" description = "A generic serialization/deserialization framework" diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 92d65818..797cd86c 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -59,7 +59,8 @@ //! Redis when using [redis-rs](https://crates.io/crates/redis). //! *(deserialization only)* -#![doc(html_root_url = "https://docs.serde.rs")] +#![doc(html_root_url = "https://docs.rs/serde/0.9.13")] + #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(feature = "unstable", feature(nonzero, specialization, zero_one))] #![cfg_attr(all(feature = "std", feature = "unstable"), feature(into_boxed_c_str))] diff --git a/serde_derive/Cargo.toml b/serde_derive/Cargo.toml index 92ac98d9..c9e42766 100644 --- a/serde_derive/Cargo.toml +++ b/serde_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serde_derive" -version = "0.9.13" +version = "0.9.13" # remember to update html_root_url authors = ["Erick Tryzelaar "] license = "MIT/Apache-2.0" description = "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]" diff --git a/serde_derive/src/lib.rs b/serde_derive/src/lib.rs index d58271ad..b543732c 100644 --- a/serde_derive/src/lib.rs +++ b/serde_derive/src/lib.rs @@ -1,3 +1,5 @@ +#![doc(html_root_url = "https://docs.rs/serde_derive/0.9.13")] + #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] #![cfg_attr(feature = "cargo-clippy", allow(used_underscore_binding))] diff --git a/serde_test/Cargo.toml b/serde_test/Cargo.toml index 7546cd4f..c7600ead 100644 --- a/serde_test/Cargo.toml +++ b/serde_test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serde_test" -version = "0.9.13" +version = "0.9.13" # remember to update html_root_url authors = ["Erick Tryzelaar "] license = "MIT/Apache-2.0" description = "Token De/Serializer for testing De/Serialize implementations" diff --git a/serde_test/src/lib.rs b/serde_test/src/lib.rs index 29668e8c..ac86f444 100644 --- a/serde_test/src/lib.rs +++ b/serde_test/src/lib.rs @@ -1,3 +1,5 @@ +#![doc(html_root_url = "https://docs.rs/serde_test/0.9.13")] + #[macro_use] extern crate serde;