diff --git a/tokio-xmpp/src/starttls/happy_eyeballs.rs b/tokio-xmpp/src/starttls/happy_eyeballs.rs index 0753088..2c41897 100644 --- a/tokio-xmpp/src/starttls/happy_eyeballs.rs +++ b/tokio-xmpp/src/starttls/happy_eyeballs.rs @@ -1,5 +1,7 @@ use super::error::{ConnectorError, Error}; -use hickory_resolver::{IntoName, TokioAsyncResolver}; +use hickory_resolver::{ + config::LookupIpStrategy, name_server::TokioConnectionProvider, IntoName, TokioAsyncResolver, +}; use log::debug; use std::net::SocketAddr; use tokio::net::TcpStream; @@ -13,7 +15,10 @@ pub async fn connect_to_host(domain: &str, port: u16) -> Result