diff --git a/actix-identity/src/lib.rs b/actix-identity/src/lib.rs index f88c9ca23..4b4a04202 100644 --- a/actix-identity/src/lib.rs +++ b/actix-identity/src/lib.rs @@ -89,6 +89,9 @@ #![forbid(unsafe_code)] #![deny(rust_2018_idioms, nonstandard_style, missing_docs)] #![warn(future_incompatible)] +#![doc(html_logo_url = "https://actix.rs/img/logo.png")] +#![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod config; pub mod error; diff --git a/actix-limitation/src/lib.rs b/actix-limitation/src/lib.rs index 384f51dad..27d79d7b0 100644 --- a/actix-limitation/src/lib.rs +++ b/actix-limitation/src/lib.rs @@ -49,6 +49,7 @@ #![warn(future_incompatible, missing_docs, missing_debug_implementations)] #![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use std::{borrow::Cow, fmt, sync::Arc, time::Duration}; diff --git a/actix-protobuf/src/lib.rs b/actix-protobuf/src/lib.rs index f2f7e0160..adfba4f43 100644 --- a/actix-protobuf/src/lib.rs +++ b/actix-protobuf/src/lib.rs @@ -3,6 +3,9 @@ #![forbid(unsafe_code)] #![deny(rust_2018_idioms, nonstandard_style)] #![warn(future_incompatible)] +#![doc(html_logo_url = "https://actix.rs/img/logo.png")] +#![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use std::{ fmt, diff --git a/actix-redis/src/lib.rs b/actix-redis/src/lib.rs index 6d0ca7c40..1d3856443 100644 --- a/actix-redis/src/lib.rs +++ b/actix-redis/src/lib.rs @@ -3,6 +3,9 @@ #![forbid(unsafe_code)] #![deny(rust_2018_idioms, nonstandard_style)] #![warn(future_incompatible)] +#![doc(html_logo_url = "https://actix.rs/img/logo.png")] +#![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use derive_more::{Display, Error, From}; pub use redis_async::{error::Error as RespError, resp::RespValue, resp_array}; diff --git a/actix-settings/src/lib.rs b/actix-settings/src/lib.rs index 3422549ff..2f26ab164 100644 --- a/actix-settings/src/lib.rs +++ b/actix-settings/src/lib.rs @@ -65,6 +65,7 @@ #![warn(future_incompatible, missing_docs, missing_debug_implementations)] #![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use std::{ env, fmt, diff --git a/actix-web-httpauth/src/lib.rs b/actix-web-httpauth/src/lib.rs index 628ea8e73..56ee6962d 100644 --- a/actix-web-httpauth/src/lib.rs +++ b/actix-web-httpauth/src/lib.rs @@ -17,6 +17,9 @@ #![forbid(unsafe_code)] #![deny(rust_2018_idioms, nonstandard_style)] #![warn(future_incompatible, missing_docs)] +#![doc(html_logo_url = "https://actix.rs/img/logo.png")] +#![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod extractors; pub mod headers;