xmpp: Re-export jid structs, minidom::Element, and parsers module

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-08-21 10:57:33 +02:00
parent 21c9fa2df4
commit e2ef506418
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -15,6 +15,7 @@ use std::path::{Path, PathBuf};
use std::sync::{Arc, RwLock}; use std::sync::{Arc, RwLock};
use tokio::fs::File; use tokio::fs::File;
use tokio_util::codec::{BytesCodec, FramedRead}; use tokio_util::codec::{BytesCodec, FramedRead};
pub use tokio_xmpp::parsers;
use tokio_xmpp::parsers::{ use tokio_xmpp::parsers::{
bookmarks2::Conference, bookmarks2::Conference,
caps::{compute_disco, hash_caps, Caps}, caps::{compute_disco, hash_caps, Caps},
@ -34,7 +35,7 @@ use tokio_xmpp::parsers::{
stanza_error::{DefinedCondition, ErrorType, StanzaError}, stanza_error::{DefinedCondition, ErrorType, StanzaError},
}; };
use tokio_xmpp::{AsyncClient as TokioXmppClient, Event as TokioXmppEvent}; 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] #[macro_use]
extern crate log; extern crate log;