mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Fix imports in resolver.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
651a82a4da
commit
eb289d0dd2
1 changed files with 9 additions and 1 deletions
|
@ -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};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue