tokio-xmpp: Bump tokio to 1.0 and replace tokio-tls with tokio-native-tls

This commit is contained in:
Emmanuel Gil Peyrot 2020-12-04 17:33:55 +01:00
commit a38ff39b77
2 changed files with 7 additions and 5 deletions

View file

@ -4,7 +4,8 @@ use sasl::common::{ChannelBinding, Credentials};
use std::pin::Pin;
use std::str::FromStr;
use std::task::{Context, Poll};
use tokio::{net::TcpStream, stream::StreamExt};
use tokio::net::TcpStream;
use tokio_stream::StreamExt;
use tokio_tls::TlsStream;
use xmpp_parsers::{ns, Element, Jid};