Fix imports in resolver.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-08-11 16:44:37 +10:00 committed by GitHub
parent 651a82a4da
commit eb289d0dd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,14 @@
use std::{net::SocketAddr, sync::Arc}; 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 once_cell::sync::OnceCell;
use reqwest::dns::{Addrs, Name, Resolve, Resolving}; use reqwest::dns::{Addrs, Name, Resolve, Resolving};
use tracing::{debug, instrument, warn}; use tracing::{debug, instrument, warn};