mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Merge pull request #5 from linkmauve/ConnectFuture
Use tokio::net::tcp::ConnectFuture directly
This commit is contained in:
commit
7ba1b5604f
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ use std::collections::BTreeMap;
|
|||
use std::collections::VecDeque;
|
||||
use std::cell::RefCell;
|
||||
use futures::{Future, Poll, Async};
|
||||
use tokio::net::{ConnectFuture, TcpStream};
|
||||
use tokio::net::TcpStream;
|
||||
use tokio::net::tcp::ConnectFuture;
|
||||
use trust_dns_resolver::{IntoName, Name, ResolverFuture, error::ResolveError};
|
||||
use trust_dns_resolver::lookup::SrvLookupFuture;
|
||||
use trust_dns_resolver::lookup_ip::LookupIpFuture;
|
||||
|
|
Loading…
Reference in a new issue