From 29f9e14457998085ec38cce597558d88b3d804e7 Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Sun, 10 Oct 2021 15:46:11 +0530 Subject: feat: stabilize Deno.resolveDns (#12368) --- ext/net/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/net/ops.rs') diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 43a562e0f..8c8d32da5 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -538,7 +538,7 @@ where #[derive(Serialize, PartialEq, Debug)] #[serde(untagged)] -enum DnsReturnRecord { +pub enum DnsReturnRecord { A(String), Aaaa(String), Aname(String), @@ -583,7 +583,7 @@ pub struct NameServer { port: u16, } -async fn op_dns_resolve( +pub async fn op_dns_resolve( state: Rc>, args: ResolveAddrArgs, _: (), -- cgit v1.2.3