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,4 +1,5 @@
|
|||
use futures::stream::StreamExt;
|
||||
use minidom::Element;
|
||||
use std::env::args;
|
||||
use std::fs::{create_dir_all, File};
|
||||
use std::io::{self, Write};
|
||||
|
|
@ -11,6 +12,7 @@ use xmpp_parsers::{
|
|||
disco::{DiscoInfoQuery, DiscoInfoResult, Feature, Identity},
|
||||
hashes::Algo,
|
||||
iq::{Iq, IqType},
|
||||
jid::{BareJid, Jid},
|
||||
message::Message,
|
||||
ns,
|
||||
presence::{Presence, Type as PresenceType},
|
||||
|
|
@ -20,7 +22,6 @@ use xmpp_parsers::{
|
|||
NodeName,
|
||||
},
|
||||
stanza_error::{DefinedCondition, ErrorType, StanzaError},
|
||||
BareJid, Element, Jid,
|
||||
};
|
||||
|
||||
#[tokio::main]
|
||||
|
|
|
|||
Loading…
Reference in a new issue