diff --git a/jid/src/lib.rs b/jid/src/lib.rs index d9927bd0575f4675b0577322932dbef0119dc490..caa9049a03e12c14f7bd751a13066cf1e2aea8ab 100644 --- a/jid/src/lib.rs +++ b/jid/src/lib.rs @@ -10,6 +10,7 @@ #![no_std] #![deny(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] //! Represents XMPP addresses, also known as JabberIDs (JIDs) for the [XMPP](https://xmpp.org/) //! protocol. A [`Jid`] can have between one and three parts in the form `node@domain/resource`: diff --git a/minidom/src/lib.rs b/minidom/src/lib.rs index 83c6837ca8a736633eb69c1156f104306ccca048..11793608f582757cbd0d00e954cd663200357c16 100644 --- a/minidom/src/lib.rs +++ b/minidom/src/lib.rs @@ -9,6 +9,7 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. #![deny(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] //! A minimal DOM crate built on top of rxml, targeting exclusively the subset of XML useful //! for XMPP. diff --git a/parsers/src/lib.rs b/parsers/src/lib.rs index 2cd518889441086aa2ec2913297f03349606d879..48e6c5dfe806c5b1a62cb5a849542dd41bb897ce 100644 --- a/parsers/src/lib.rs +++ b/parsers/src/lib.rs @@ -22,6 +22,7 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. #![warn(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub use blake2; pub use jid; diff --git a/sasl/src/lib.rs b/sasl/src/lib.rs index 7f2aab2c0d98c7be1d5c1fe9192673b10eb4579c..f7e983b2bdee9a3475189d08a1bfa73aac26c88d 100644 --- a/sasl/src/lib.rs +++ b/sasl/src/lib.rs @@ -1,5 +1,6 @@ //#![deny(missing_docs)] #![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] //! This crate provides a framework for SASL authentication and a few authentication mechanisms. //! diff --git a/tokio-xmpp/src/lib.rs b/tokio-xmpp/src/lib.rs index b922cd65af0e41e9aff002f4e0bd082d50224332..e29701b067c9527c070726a367b319a378410164 100644 --- a/tokio-xmpp/src/lib.rs +++ b/tokio-xmpp/src/lib.rs @@ -1,6 +1,7 @@ //! XMPP implementation with asynchronous I/O using Tokio. #![deny(unsafe_code, missing_docs, bare_trait_objects)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #[cfg(all( not(xmpprs_doc_build), diff --git a/xmpp/src/lib.rs b/xmpp/src/lib.rs index cce69dc1eeb5ed715be454918d140f5e24ded0dd..b88687d8b2afca2e662e17b9255abf0ba2e9509e 100644 --- a/xmpp/src/lib.rs +++ b/xmpp/src/lib.rs @@ -5,6 +5,7 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. #![deny(bare_trait_objects)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub use tokio_xmpp; pub use tokio_xmpp::jid; diff --git a/xso-proc/src/lib.rs b/xso-proc/src/lib.rs index 6e2deb65e8805c2075b82344e9c597700ed31aab..deff73e1181ebff89facc1e2251e726d0159ec15 100644 --- a/xso-proc/src/lib.rs +++ b/xso-proc/src/lib.rs @@ -7,6 +7,7 @@ #![forbid(unsafe_code)] #![warn(missing_docs)] #![allow(rustdoc::private_intra_doc_links)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] /*! # Macros for parsing XML into Rust structs, and vice versa diff --git a/xso/src/lib.rs b/xso/src/lib.rs index 20d309ecf6dd13d11f7f505409575f0cdaf9d717..01db604e80356b53cb3bed1cef5bc6bfcbc23fc5 100644 --- a/xso/src/lib.rs +++ b/xso/src/lib.rs @@ -1,4 +1,5 @@ #![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![forbid(unsafe_code)] #![warn(missing_docs)] /*!