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,9 +1,10 @@
|
|||
use futures::{sink::SinkExt, task::Poll, Future, Sink, Stream};
|
||||
use minidom::Element;
|
||||
use std::mem::replace;
|
||||
use std::pin::Pin;
|
||||
use std::task::Context;
|
||||
use tokio::task::JoinHandle;
|
||||
use xmpp_parsers::{ns, Element, Jid};
|
||||
use xmpp_parsers::{jid::Jid, ns};
|
||||
|
||||
use super::connect::client_login;
|
||||
use crate::connect::{AsyncReadAndWrite, ServerConnector};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use sasl::common::Credentials;
|
||||
use xmpp_parsers::{ns, Jid};
|
||||
use xmpp_parsers::{jid::Jid, ns};
|
||||
|
||||
use crate::client::auth::auth;
|
||||
use crate::client::bind::bind;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
use futures::{sink::SinkExt, Sink, Stream};
|
||||
use minidom::Element;
|
||||
use std::pin::Pin;
|
||||
use std::task::{Context, Poll};
|
||||
use tokio_stream::StreamExt;
|
||||
use xmpp_parsers::{ns, Element, Jid};
|
||||
use xmpp_parsers::{jid::Jid, ns};
|
||||
|
||||
use crate::connect::ServerConnector;
|
||||
use crate::stream_features::StreamFeatures;
|
||||
|
|
|
|||
Loading…
Reference in a new issue