Skip to content

Commit f220cc3

Browse files
authored
refactor!(iroh): Make discovery-pkarr-dht feature non-default (#3154)
## Description What it says on the tin. Reasoning: - We mostly advertise using `Endpoint::discovery_n0`, and none of our examples use `Endpoint::discovery_dht`. - For the default case we stop depending on `mainline` needlessly (we can disable the `pkarr/dht` feature). ## Breaking Changes - The `discovery-pkarr-dht` feature became non-default (moved from opt-out to opt-in). ## Change checklist - [x] Self-review. - [x] All breaking changes documented.
1 parent e049965 commit f220cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iroh/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ testresult = "0.4.0"
133133
iroh-relay = { path = "../iroh-relay", default-features = false, features = ["test-utils", "server"] }
134134

135135
[features]
136-
default = ["metrics", "discovery-pkarr-dht"]
136+
default = ["metrics"]
137137
metrics = ["iroh-metrics/metrics", "iroh-relay/metrics", "net-report/metrics", "portmapper/metrics"]
138138
test-utils = ["iroh-relay/test-utils", "iroh-relay/server", "dep:axum"]
139139
discovery-local-network = ["dep:swarm-discovery"]

0 commit comments

Comments
 (0)