Add Zebra logo to all workspace crates.

Also add html_root_url attributes.
This commit is contained in:
Henry de Valence 2020-02-26 21:10:08 -08:00
parent af455f9896
commit ff3efd504c
8 changed files with 26 additions and 0 deletions

View File

@ -1,4 +1,8 @@
//! Blockchain-related datastructures for Zebra. 🦓
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_chain")]
#![deny(missing_docs)]
mod merkle_tree;

View File

@ -1,3 +1,6 @@
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_client")]
#[cfg(test)]
mod tests {
#[test]

View File

@ -1,3 +1,6 @@
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_consensus")]
#[cfg(test)]
mod tests {
#[test]

View File

@ -26,6 +26,9 @@
//! to close, and the outbound service can connect to additional peers
//! when it is overloaded.
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_network")]
#![deny(missing_docs)]
// Tracing causes false positives on this lint:
// https://github.com/tokio-rs/tracing/issues/553

View File

@ -1,3 +1,6 @@
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_rpc")]
#[cfg(test)]
mod tests {
#[test]

View File

@ -1,3 +1,7 @@
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_script")]
#[cfg(test)]
mod tests {
#[test]

View File

@ -1,3 +1,6 @@
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_storage")]
#[cfg(test)]
mod tests {
#[test]

View File

@ -12,6 +12,9 @@
//!
//! [Join us on Discord](https://discord.gg/na6QZNd).
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebrad")]
//#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
#![forbid(unsafe_code)]
// Tracing causes false positives on this lint: