From eaa0306d1928f5a31b29f08863a070ea1343cbf0 Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Wed, 27 Nov 2024 11:12:08 +0200 Subject: [PATCH] feat: make hickory dns optional (#6705) Description --- Hickory dns inclused open ssl which has trouble compiling on all platforms. Making it optional only when needed removes the need to solve this --- base_layer/core/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base_layer/core/Cargo.toml b/base_layer/core/Cargo.toml index 24e1393311..e96ed74872 100644 --- a/base_layer/core/Cargo.toml +++ b/base_layer/core/Cargo.toml @@ -20,6 +20,7 @@ base_node = [ "base_node_proto", "monero", "randomx-rs", + "hickory-client", ] base_node_proto = [] benches = ["base_node"] @@ -93,7 +94,7 @@ tiny-keccak = { package = "tari-tiny-keccak", version = "2.0.2", features = [ "keccak", ] } dirs-next = "1.0.2" -hickory-client = { version = "0.25.0-alpha.2", features = ["dns-over-rustls", "dnssec-openssl"] } +hickory-client = { version = "0.25.0-alpha.2", features = ["dns-over-rustls", "dnssec-openssl"], optional = true } anyhow = "1.0.53" [dev-dependencies]