From 9106c15ffda4e4988fb164e66b0cb713310ba78f Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 15 Mar 2014 14:26:12 -0700 Subject: [PATCH] Add rustdoc html crate info --- src/libarena/lib.rs | 3 +++ src/libcollections/lib.rs | 3 +++ src/libflate/lib.rs | 3 +++ src/libfourcc/lib.rs | 3 +++ src/libgetopts/lib.rs | 3 +++ src/libglob/lib.rs | 3 +++ src/libhexfloat/lib.rs | 3 +++ src/libnum/lib.rs | 3 +++ src/libsemver/lib.rs | 3 +++ src/libserialize/lib.rs | 3 +++ src/libsync/lib.rs | 3 +++ src/libtest/lib.rs | 3 +++ src/libtime/lib.rs | 3 +++ src/liburl/lib.rs | 3 +++ src/libuuid/lib.rs | 3 +++ src/libworkcache/lib.rs | 3 +++ 16 files changed, 48 insertions(+) diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index 895c498aa87..f2c98b8e5fc 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -19,6 +19,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(missing_doc)]; #[feature(managed_boxes)]; #[allow(deprecated_owned_vector)]; diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index b5199913f02..94c1131949c 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -16,6 +16,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[feature(macro_rules, managed_boxes, default_type_params)]; diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index 41dc4e3976a..8733c127194 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -18,6 +18,9 @@ Simple compression #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; use std::libc::{c_void, size_t, c_int}; use std::libc; diff --git a/src/libfourcc/lib.rs b/src/libfourcc/lib.rs index c465c8f1e16..ddbd5b507ef 100644 --- a/src/libfourcc/lib.rs +++ b/src/libfourcc/lib.rs @@ -43,6 +43,9 @@ fn main() { #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[feature(macro_registrar, managed_boxes)]; diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index 007557c1d58..69f6ad11431 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -80,6 +80,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(missing_doc)]; #[allow(deprecated_owned_vector)]; diff --git a/src/libglob/lib.rs b/src/libglob/lib.rs index 126eebaa1d3..d48a7af01e8 100644 --- a/src/libglob/lib.rs +++ b/src/libglob/lib.rs @@ -27,6 +27,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(deprecated_owned_vector)]; use std::cell::Cell; diff --git a/src/libhexfloat/lib.rs b/src/libhexfloat/lib.rs index f331391d35a..16a18f459c0 100644 --- a/src/libhexfloat/lib.rs +++ b/src/libhexfloat/lib.rs @@ -40,6 +40,9 @@ fn main() { #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[feature(macro_registrar, managed_boxes)]; diff --git a/src/libnum/lib.rs b/src/libnum/lib.rs index 1cbb7a279a5..05b94af9b8c 100644 --- a/src/libnum/lib.rs +++ b/src/libnum/lib.rs @@ -14,6 +14,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(deprecated_owned_vector)]; extern crate rand; diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs index 3ffafbada91..5286d4a95e1 100644 --- a/src/libsemver/lib.rs +++ b/src/libsemver/lib.rs @@ -32,6 +32,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(deprecated_owned_vector)]; diff --git a/src/libserialize/lib.rs b/src/libserialize/lib.rs index 2f4996a9268..89e1e23637f 100644 --- a/src/libserialize/lib.rs +++ b/src/libserialize/lib.rs @@ -18,6 +18,9 @@ Core encoding and decoding interfaces. #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(missing_doc)]; #[forbid(non_camel_case_types)]; #[feature(macro_rules, managed_boxes, default_type_params)]; diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs index 9a297150db4..bab1a00e5ac 100644 --- a/src/libsync/lib.rs +++ b/src/libsync/lib.rs @@ -16,6 +16,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(deprecated_owned_vector)]; diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 8d573f0dc3e..4c7226a3880 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -28,6 +28,9 @@ #[license = "MIT/ASL2"]; #[crate_type = "rlib"]; #[crate_type = "dylib"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[feature(asm, macro_rules)]; #[allow(deprecated_owned_vector)]; diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs index a3ddf35b69b..8b496875c30 100644 --- a/src/libtime/lib.rs +++ b/src/libtime/lib.rs @@ -12,6 +12,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(missing_doc)]; #[allow(deprecated_owned_vector)]; diff --git a/src/liburl/lib.rs b/src/liburl/lib.rs index 69e1dce7376..888b0a4358c 100644 --- a/src/liburl/lib.rs +++ b/src/liburl/lib.rs @@ -14,6 +14,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[feature(default_type_params)]; #[allow(deprecated_owned_vector)]; diff --git a/src/libuuid/lib.rs b/src/libuuid/lib.rs index 2fa6c0906c7..98c5f413973 100644 --- a/src/libuuid/lib.rs +++ b/src/libuuid/lib.rs @@ -58,6 +58,9 @@ Examples of string representations: #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(deprecated_owned_vector)]; diff --git a/src/libworkcache/lib.rs b/src/libworkcache/lib.rs index eb63f2dacbb..ce7557fb2aa 100644 --- a/src/libworkcache/lib.rs +++ b/src/libworkcache/lib.rs @@ -12,6 +12,9 @@ #[crate_type = "rlib"]; #[crate_type = "dylib"]; #[license = "MIT/ASL2"]; +#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://static.rust-lang.org/doc/master")]; #[allow(deprecated_owned_vector, visible_private_types)]; extern crate serialize;