Skip to content

Commit ccdf271

Browse files
committed
Fix docs build with current nightly
skip-changelog, we don't officially support nightly. See-Also: rust-lang/rfcs#3631 See-Also: rust-lang/rust#138907
1 parent 3ffff26 commit ccdf271

File tree

8 files changed

+15
-8
lines changed

8 files changed

+15
-8
lines changed

jid/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
#![no_std]
1212
#![deny(missing_docs)]
13-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
13+
#![cfg_attr(docsrs, feature(doc_cfg))]
14+
#![cfg_attr(docsrs, doc(auto_cfg))]
1415

1516
//! Represents XMPP addresses, also known as JabberIDs (JIDs) for the [XMPP](https://xmpp.org/)
1617
//! protocol. A [`Jid`] can have between one and three parts in the form `node@domain/resource`:

minidom/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
1010

1111
#![deny(missing_docs)]
12-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
12+
#![cfg_attr(docsrs, feature(doc_cfg))]
13+
#![cfg_attr(docsrs, doc(auto_cfg))]
1314

1415
//! A minimal DOM crate built on top of rxml, targeting exclusively the subset of XML useful
1516
//! for XMPP.

parsers/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
2323

2424
#![warn(missing_docs)]
25-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
25+
#![cfg_attr(docsrs, feature(doc_cfg))]
26+
#![cfg_attr(docsrs, doc(auto_cfg))]
2627

2728
extern crate alloc;
2829

sasl/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//#![deny(missing_docs)]
22
#![no_std]
3-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
3+
#![cfg_attr(docsrs, feature(doc_cfg))]
4+
#![cfg_attr(docsrs, doc(auto_cfg))]
45

56
//! This crate provides a framework for SASL authentication and a few authentication mechanisms.
67
//!

tokio-xmpp/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
//! You can find more information on our website [xmpp.rs](https://xmpp.rs/) or by joining our chatroom [[email protected]](xmpp:[email protected]?join).
7272
7373
#![deny(unsafe_code, missing_docs, bare_trait_objects)]
74-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
74+
#![cfg_attr(docsrs, feature(doc_cfg))]
75+
#![cfg_attr(docsrs, doc(auto_cfg))]
7576

7677
macro_rules! fail_native_with_any {
7778
($($feature:literal),+) => {

xmpp/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
//! - `escape-hatch`: Allow access to low-level API to bypass shortcomings of the current API.
4747
4848
#![deny(bare_trait_objects)]
49-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
49+
#![cfg_attr(docsrs, feature(doc_cfg))]
50+
#![cfg_attr(docsrs, doc(auto_cfg))]
5051

5152
extern crate alloc;
5253

xso-proc/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
#![forbid(unsafe_code)]
88
#![warn(missing_docs)]
99
#![allow(rustdoc::private_intra_doc_links)]
10-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
10+
#![cfg_attr(docsrs, feature(doc_cfg))]
11+
#![cfg_attr(docsrs, doc(auto_cfg))]
1112
/*!
1213
# Macros for parsing XML into Rust structs, and vice versa
1314

xso/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
21
#![cfg_attr(docsrs, feature(doc_cfg))]
2+
#![cfg_attr(docsrs, doc(auto_cfg))]
33
#![forbid(unsafe_code)]
44
#![warn(missing_docs)]
55
/*!

0 commit comments

Comments
 (0)