tokio-xmpp: Import Jid, BareJid and Element properly
xmpp-parsers has stopped reexporting them, instead it reexports only the crates themselves.
This commit is contained in:
parent
7b66de1166
commit
e9b226e1ae
21 changed files with 34 additions and 22 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::str::FromStr;
|
||||
|
||||
use xmpp_parsers::Jid;
|
||||
use xmpp_parsers::jid::Jid;
|
||||
|
||||
use crate::{AsyncClient, AsyncConfig, Error, SimpleClient};
|
||||
|
||||
|
|
|
|||
|
|
@ -18,12 +18,13 @@ use {
|
|||
tokio_native_tls::{TlsConnector, TlsStream},
|
||||
};
|
||||
|
||||
use minidom::Element;
|
||||
use sasl::common::ChannelBinding;
|
||||
use tokio::{
|
||||
io::{AsyncRead, AsyncWrite},
|
||||
net::TcpStream,
|
||||
};
|
||||
use xmpp_parsers::{ns, Element, Jid};
|
||||
use xmpp_parsers::{jid::Jid, ns};
|
||||
|
||||
use crate::{connect::ServerConnector, xmpp_codec::Packet, AsyncClient, SimpleClient};
|
||||
use crate::{connect::ServerConnectorError, xmpp_stream::XMPPStream};
|
||||
|
|
|
|||
Loading…
Reference in a new issue