mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-22 03:40:03 +00:00
dep: Bump hickory-resolver to 0.25.1 (#2096)
* dep: Bump hickory-resolver to 0.25.0 Fix #2089 Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Fix use of hickory-resolver features And bump hickory-resolver to 0.25.1 Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Update lockfile and bump transitive dependencies Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix use of hickory-dns updated API Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
d8ecdcaeec
commit
ce998d1af4
3 changed files with 180 additions and 97 deletions
|
@ -65,7 +65,9 @@ fn new_resolver() -> Result<TokioAsyncResolver, BoxError> {
|
|||
|
||||
debug!("Resolver configuration complete");
|
||||
opts.ip_strategy = LookupIpStrategy::Ipv4AndIpv6;
|
||||
Ok(TokioAsyncResolver::tokio(config, opts))
|
||||
let mut builder = TokioAsyncResolver::builder_with_config(config, Default::default());
|
||||
*builder.options_mut() = opts;
|
||||
Ok(builder.build())
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue