From 04152081bef7c16af11cb53ed96c57a4da58759d Mon Sep 17 00:00:00 2001 From: Jason Travis Smith Date: Wed, 24 Aug 2016 12:57:44 -0400 Subject: [PATCH] Any missing documentation will now be considered a warning. --- Cargo.toml | 1 + src/lib.rs | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ceb9e0f..0c42172 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ repository = "https://gitlab.com/CyberMages/scribe.git" documentation = "" keywords = ["scribe", "logging"] + [features] default = [] use_std = [] diff --git a/src/lib.rs b/src/lib.rs index df8967f..c27d0df 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,9 @@ //! This is the logging system used by different CyberMages projects. //! This is meant to work with both std and non std Rust programs. - +#![doc(html_logo_url="", + html_favicon_url="http://cybermagesllc.com/favicon.ico", + html_root_url="http://cybermagesllc.com")] +#![warn(missing_docs)] // Handle using the core or the std of Rust depending on the chosen feature. #![cfg_attr(not(feature="use_std"), no_std)]