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:
Emmanuel Gil Peyrot 2024-07-24 20:39:27 +02:00 committed by Jonas Schäfer
commit e9b226e1ae
21 changed files with 34 additions and 22 deletions

View file

@ -3,8 +3,8 @@ use std::io::{stdin, Read};
use std::process::exit;
use std::str::FromStr;
use tokio_xmpp::SimpleClient as Client;
use xmpp_parsers::jid::Jid;
use xmpp_parsers::message::{Body, Message};
use xmpp_parsers::Jid;
#[tokio::main]
async fn main() {