Skip to content

Commit

Permalink
feat: make hickory dns optional (#6705)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SWvheerden authored Nov 27, 2024
1 parent dc57806 commit eaa0306
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base_layer/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ base_node = [
"base_node_proto",
"monero",
"randomx-rs",
"hickory-client",
]
base_node_proto = []
benches = ["base_node"]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit eaa0306

Please sign in to comment.