From eb289d0dd230498581015d06ab9954fccecd2942 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Sun, 11 Aug 2024 16:44:37 +1000 Subject: [PATCH] Fix imports in resolver.rs Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- crates/binstalk-downloader/src/remote/resolver.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/binstalk-downloader/src/remote/resolver.rs b/crates/binstalk-downloader/src/remote/resolver.rs index ff57d00e..63f8d200 100644 --- a/crates/binstalk-downloader/src/remote/resolver.rs +++ b/crates/binstalk-downloader/src/remote/resolver.rs @@ -1,6 +1,14 @@ use std::{net::SocketAddr, sync::Arc}; -use hickory_resolver::{system_conf, TokioAsyncResolver}; +use hickory_resolver::{ + config::{ + LookupIpStrategy, + ResolverConfig, + ResolverOpts, + }, + system_conf, + TokioAsyncResolver, +}; use once_cell::sync::OnceCell; use reqwest::dns::{Addrs, Name, Resolve, Resolving}; use tracing::{debug, instrument, warn};