From 8fb58b7754797b139ead1c68ece4ec1bf411455c Mon Sep 17 00:00:00 2001 From: 1zuna <1zuna@ccbluex.net> Date: Thu, 30 Nov 2023 01:25:58 +0100 Subject: [PATCH] fix trust_dns_resolver issue (#112) fixes error: "Label contains invalid characters" --- azalea-protocol/src/resolver.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/azalea-protocol/src/resolver.rs b/azalea-protocol/src/resolver.rs index 79dd660f..f803df23 100755 --- a/azalea-protocol/src/resolver.rs +++ b/azalea-protocol/src/resolver.rs @@ -6,7 +6,7 @@ use std::net::{IpAddr, SocketAddr}; use thiserror::Error; use trust_dns_resolver::{ config::{ResolverConfig, ResolverOpts}, - TokioAsyncResolver, + TokioAsyncResolver, Name, }; #[derive(Error, Debug)] @@ -45,7 +45,7 @@ pub async fn resolve_address(address: &ServerAddress) -> Result Result