From a56139549f1b4e09ce290c86485bff7b84e45280 Mon Sep 17 00:00:00 2001 From: Ossi Herrala Date: Sat, 27 Apr 2024 11:10:13 +0300 Subject: [PATCH] Trust-DNS has been renamed to Hickory-DNS --- Cargo.toml | 2 +- src/service/globals/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0a5cd0c2..3b282027 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,7 +75,7 @@ base64 = "0.22" # Used when hashing the state ring = "0.17.7" # Used when querying the SRV record of other servers -trust-dns-resolver = "0.22.0" +hickory-resolver = "0.24" # Used to find matching events for appservices regex = "1.8.1" # jwt jsonwebtokens diff --git a/src/service/globals/mod.rs b/src/service/globals/mod.rs index 798c725a..ab66ed45 100644 --- a/src/service/globals/mod.rs +++ b/src/service/globals/mod.rs @@ -9,6 +9,7 @@ use crate::api::server_server::FedDest; use crate::{services, Config, Error, Result}; use futures_util::FutureExt; +use hickory_resolver::TokioAsyncResolver; use hyper::{ client::connect::dns::{GaiResolver, Name}, service::Service as HyperService, @@ -37,7 +38,6 @@ use std::{ }; use tokio::sync::{broadcast, watch::Receiver, Mutex, RwLock, Semaphore}; use tracing::{error, info}; -use trust_dns_resolver::TokioAsyncResolver; use base64::{engine::general_purpose, Engine as _};