Indicate which feature flag for each module/type

This commit is contained in:
xmppftw 2024-08-04 22:35:01 +02:00
parent aa26d98e2a
commit fa99c09585
8 changed files with 8 additions and 0 deletions

View file

@ -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`:

View file

@ -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.

View file

@ -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;

View file

@ -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.
//!

View file

@ -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),

View file

@ -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;

View file

@ -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

View file

@ -1,4 +1,5 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![forbid(unsafe_code)]
#![warn(missing_docs)]
/*!