Add AsyncServerConnector to AsyncClient to be able to support any stream
Unfortunately API breaking unless we do some export mangling
This commit is contained in:
parent
3d9bdd6fe2
commit
3cab603a4c
6 changed files with 86 additions and 57 deletions
|
|
@ -8,10 +8,9 @@ use std::path::{Path, PathBuf};
|
|||
use std::sync::{Arc, RwLock};
|
||||
pub use tokio_xmpp::parsers;
|
||||
use tokio_xmpp::parsers::{disco::DiscoInfoResult, message::MessageType};
|
||||
use tokio_xmpp::AsyncClient as TokioXmppClient;
|
||||
pub use tokio_xmpp::{BareJid, Element, FullJid, Jid};
|
||||
|
||||
use crate::{event_loop, message, muc, upload, Error, Event, RoomNick};
|
||||
use crate::{event_loop, message, muc, upload, Error, Event, RoomNick, TokioXmppClient};
|
||||
|
||||
pub struct Agent {
|
||||
pub(crate) client: TokioXmppClient,
|
||||
|
|
|
|||
Loading…
Reference in a new issue