From e2ef50641866af55cb949e586397c2356af8186e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 21 Aug 2023 10:57:33 +0200 Subject: [PATCH] xmpp: Re-export jid structs, minidom::Element, and parsers module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- xmpp/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmpp/src/lib.rs b/xmpp/src/lib.rs index 6149116c..493136a6 100644 --- a/xmpp/src/lib.rs +++ b/xmpp/src/lib.rs @@ -15,6 +15,7 @@ use std::path::{Path, PathBuf}; use std::sync::{Arc, RwLock}; use tokio::fs::File; use tokio_util::codec::{BytesCodec, FramedRead}; +pub use tokio_xmpp::parsers; use tokio_xmpp::parsers::{ bookmarks2::Conference, caps::{compute_disco, hash_caps, Caps}, @@ -34,7 +35,7 @@ use tokio_xmpp::parsers::{ stanza_error::{DefinedCondition, ErrorType, StanzaError}, }; use tokio_xmpp::{AsyncClient as TokioXmppClient, Event as TokioXmppEvent}; -use tokio_xmpp::{BareJid, Element, Jid}; +pub use tokio_xmpp::{BareJid, Element, FullJid, Jid}; #[macro_use] extern crate log;