tokio-xmpp: rename Client to AsyncClient

This commit is contained in:
Astro 2020-05-30 00:07:36 +02:00
commit 537b4825a8
6 changed files with 298 additions and 294 deletions

View file

@ -2,7 +2,7 @@ use futures::stream::StreamExt;
use std::convert::TryFrom;
use std::env::args;
use std::process::exit;
use tokio_xmpp::Client;
use tokio_xmpp::AsyncClient as Client;
use xmpp_parsers::{
disco::{DiscoInfoQuery, DiscoInfoResult},
iq::{Iq, IqType},

View file

@ -6,7 +6,7 @@ use std::io::{self, Write};
use std::process::exit;
use std::str::FromStr;
use tokio;
use tokio_xmpp::Client;
use tokio_xmpp::AsyncClient as Client;
use xmpp_parsers::{
avatar::{Data as AvatarData, Metadata as AvatarMetadata},
caps::{compute_disco, hash_caps, Caps},

View file

@ -3,7 +3,7 @@ use std::convert::TryFrom;
use std::env::args;
use std::process::exit;
use tokio;
use tokio_xmpp::Client;
use tokio_xmpp::AsyncClient as Client;
use xmpp_parsers::message::{Body, Message, MessageType};
use xmpp_parsers::presence::{Presence, Show as PresenceShow, Type as PresenceType};
use xmpp_parsers::{Element, Jid};