summaryrefslogtreecommitdiff
path: root/ext/net
diff options
context:
space:
mode:
Diffstat (limited to 'ext/net')
-rw-r--r--ext/net/Cargo.toml6
-rw-r--r--ext/net/ops.rs2
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml
index 30a07bae9..f6a637cb9 100644
--- a/ext/net/Cargo.toml
+++ b/ext/net/Cargo.toml
@@ -19,6 +19,6 @@ deno_tls = { version = "0.56.0", path = "../tls" }
log = "0.4.16"
serde = { version = "1.0.136", features = ["derive"] }
socket2 = "0.4.4"
-tokio = { version = "1.17", features = ["full"] }
-trust-dns-proto = "=0.21.2"
-trust-dns-resolver = { version = "=0.21.2", features = ["tokio-runtime", "serde-config"] }
+tokio = { version = "1.21", features = ["full"] }
+trust-dns-proto = "0.22"
+trust-dns-resolver = { version = "0.22", features = ["tokio-runtime", "serde-config"] }
diff --git a/ext/net/ops.rs b/ext/net/ops.rs
index a05c21da8..d0f42f189 100644
--- a/ext/net/ops.rs
+++ b/ext/net/ops.rs
@@ -685,7 +685,7 @@ where
let resolver = AsyncResolver::tokio(config, opts)?;
let results = resolver
- .lookup(query, record_type, Default::default())
+ .lookup(query, record_type)
.await
.map_err(|e| {
let message = format!("{}", e);