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
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
use futures::sink::Send;
|
||||
use futures::{sink::SinkExt, task::Poll, Sink, Stream};
|
||||
use minidom::Element;
|
||||
use rand::{thread_rng, Rng};
|
||||
use std::pin::Pin;
|
||||
use std::task::Context;
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
use tokio_util::codec::Framed;
|
||||
use xmpp_parsers::{Element, Jid};
|
||||
use xmpp_parsers::jid::Jid;
|
||||
|
||||
use crate::stream_features::StreamFeatures;
|
||||
use crate::stream_start;
|
||||
|
|
|
|||
Loading…
Reference in a new issue