diff --git a/jid/src/lib.rs b/jid/src/lib.rs index 6cce1fa567e6dfaea706fbdb93e9fea71b807c71..73a483622e3e5fc0082af8c148ec549afcf9e882 100644 --- a/jid/src/lib.rs +++ b/jid/src/lib.rs @@ -10,7 +10,8 @@ #![no_std] #![deny(missing_docs)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, 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 d25934b609ecec1a55d70a184d8dcc2deef243a0..2f3d5ee1c4190c4eb52d5b72c22d45943d20569f 100644 --- a/minidom/src/lib.rs +++ b/minidom/src/lib.rs @@ -9,7 +9,8 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. #![deny(missing_docs)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, 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 d7c3baaa0e435181d9d1f2be29ec9d8432226cb1..194e6ec12787fd2f83f9b8bf4d89cbdce2502bb6 100644 --- a/parsers/src/lib.rs +++ b/parsers/src/lib.rs @@ -22,7 +22,8 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. #![warn(missing_docs)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, doc(auto_cfg))] extern crate alloc; diff --git a/sasl/src/lib.rs b/sasl/src/lib.rs index a776c8c3555f4928778f8a94781806b42dc2257f..ed40ef86c6203554506ef7ce3de0352349fa4e9c 100644 --- a/sasl/src/lib.rs +++ b/sasl/src/lib.rs @@ -1,6 +1,7 @@ //#![deny(missing_docs)] #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, 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 6458b880368ac087aa55172970453e9e6754ccfd..9242008f25d26bf643b86edb2aa75edf7595caaf 100644 --- a/tokio-xmpp/src/lib.rs +++ b/tokio-xmpp/src/lib.rs @@ -71,7 +71,8 @@ //! You can find more information on our website [xmpp.rs](https://xmpp.rs/) or by joining our chatroom [chat@xmpp.rs](xmpp:chat@xmpp.rs?join). #![deny(unsafe_code, missing_docs, bare_trait_objects)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, doc(auto_cfg))] macro_rules! fail_native_with_any { ($($feature:literal),+) => { diff --git a/xmpp/src/lib.rs b/xmpp/src/lib.rs index e9350cf6e3b141ac64b828fe79dfd2f1a214632a..e9de88c599f4bfd6d43ca5a521c66eb86ed0634a 100644 --- a/xmpp/src/lib.rs +++ b/xmpp/src/lib.rs @@ -46,7 +46,8 @@ //! - `escape-hatch`: Allow access to low-level API to bypass shortcomings of the current API. #![deny(bare_trait_objects)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, doc(auto_cfg))] extern crate alloc; diff --git a/xso-proc/src/lib.rs b/xso-proc/src/lib.rs index 8a06fd6fb8ef5007bb7236fd53613c1293d9a7cc..84f1ec875217e5fc1b1f83ba7a167cacee5303de 100644 --- a/xso-proc/src/lib.rs +++ b/xso-proc/src/lib.rs @@ -7,7 +7,8 @@ #![forbid(unsafe_code)] #![warn(missing_docs)] #![allow(rustdoc::private_intra_doc_links)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, 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 8ae16e66444283e93ab079bec133f25e160dd809..edd46ca72c0380984f696cc3b5d232930a53f333 100644 --- a/xso/src/lib.rs +++ b/xso/src/lib.rs @@ -1,5 +1,5 @@ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, doc(auto_cfg))] #![forbid(unsafe_code)] #![warn(missing_docs)] /*!