tokio-xmpp: rename Client to AsyncClient
This commit is contained in:
parent
eb13634571
commit
537b4825a8
6 changed files with 298 additions and 294 deletions
|
|
@ -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},
|
||||
|
|
|
|||
|
|
@ -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},
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Reference in a new issue