tokio-xmpp: add option to set custom hickory resolver

This commit is contained in:
famfo 2026-05-21 13:57:26 +02:00 committed by pep
commit 559159d458
3 changed files with 64 additions and 18 deletions

View file

@ -66,6 +66,7 @@ async fn main() {
host: jid.domain().as_str().to_owned(),
srv: "_xmpp-client._tcp".to_owned(),
fallback_port: 5222,
resolver: None,
}),
jid.clone().into(),
password.clone(),