xmpp: Update to tokio-xmpp 3.4

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-08-17 16:17:53 +02:00
commit 21c9fa2df4
5 changed files with 7 additions and 8 deletions

View file

@ -15,8 +15,7 @@ use std::path::{Path, PathBuf};
use std::sync::{Arc, RwLock};
use tokio::fs::File;
use tokio_util::codec::{BytesCodec, FramedRead};
use tokio_xmpp::{AsyncClient as TokioXmppClient, Event as TokioXmppEvent};
use xmpp_parsers::{
use tokio_xmpp::parsers::{
bookmarks2::Conference,
caps::{compute_disco, hash_caps, Caps},
disco::{DiscoInfoQuery, DiscoInfoResult, Feature, Identity},
@ -33,8 +32,9 @@ use xmpp_parsers::{
pubsub::pubsub::{Items, PubSub},
roster::{Item as RosterItem, Roster},
stanza_error::{DefinedCondition, ErrorType, StanzaError},
BareJid, Element, Jid,
};
use tokio_xmpp::{AsyncClient as TokioXmppClient, Event as TokioXmppEvent};
use tokio_xmpp::{BareJid, Element, Jid};
#[macro_use]
extern crate log;

View file

@ -9,7 +9,7 @@ use crate::Event;
use std::convert::TryFrom;
use std::fs::{self, File};
use std::io::{self, Write};
use xmpp_parsers::{
use tokio_xmpp::parsers::{
avatar::{Data, Metadata},
iq::Iq,
ns,

View file

@ -8,7 +8,7 @@ use super::Agent;
use crate::Event;
use std::convert::TryFrom;
use std::str::FromStr;
use xmpp_parsers::{
use tokio_xmpp::parsers::{
bookmarks2::{Autojoin, Conference},
ns,
pubsub::event::PubSubEvent,