Fix import in resolver.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-11-09 14:35:50 +11:00 committed by GitHub
parent bb29cf79e0
commit 30cb6c39d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ use reqwest::dns::{Addrs, Name, Resolve, Resolving};
use tracing::{debug, instrument, warn};
#[cfg(windows)]
use hickory_resolver::config::{NameServerConfig, Protocol};
use hickory_resolver::{config::NameServerConfig, xfer::Protocol};
type BoxError = Box<dyn std::error::Error + Send + Sync>;