Skip to content

Commit

Permalink
Showing 3 changed files with 48 additions and 49 deletions.
93 changes: 46 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ lto = "fat"

[dependencies]
tempfile = "3.8"
trust-dns-resolver = "0.23"
hickory-resolver = "0.24.1"
memmap = "0.7"
toml = "0.8"
serde = { version = "1.0", features = ["derive"] }
2 changes: 1 addition & 1 deletion src/dns.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use anyhow::Result;
use std::{error::Error, net::IpAddr};

use trust_dns_resolver::TokioAsyncResolver;
use hickory_resolver::TokioAsyncResolver;

pub struct DnsResolver {
resolver: TokioAsyncResolver,

0 comments on commit 636c592

Please sign in to comment.