mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[PR #3206] [MERGED] Add associated type to DnsHandle for runtime #3641
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#3641
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/3206
Author: @divergentdave
Created: 8/14/2025
Status: ✅ Merged
Merged: 8/19/2025
Merged by: @divergentdave
Base:
main← Head:david/dnshandle-runtime-assoc-type📝 Commits (2)
2194040Add associated type to DnsHandle for runtimeb6e39c2Rename type parameters📊 Changes
41 files changed (+225 additions, -168 deletions)
View changed files
📝
bin/benches/comparison_benches.rs(+2 -2)📝
bin/tests/integration/named_https_tests.rs(+1 -1)📝
bin/tests/integration/named_metrics_tests.rs(+2 -2)📝
bin/tests/integration/named_quic_tests.rs(+2 -1)📝
bin/tests/integration/named_rustls_tests.rs(+2 -2)📝
bin/tests/integration/named_test_rsa_dnssec.rs(+4 -4)📝
bin/tests/integration/named_tests.rs(+20 -20)📝
bin/tests/integration/server_harness/mod.rs(+7 -3)📝
bin/tests/integration/server_harness/mut_message_client.rs(+1 -0)📝
crates/client/README.md(+1 -1)📝
crates/client/src/client/client.rs(+11 -10)📝
crates/client/src/client/dnssec_client.rs(+4 -3)📝
crates/client/src/client/memoize_client_handle.rs(+6 -4)📝
crates/client/src/lib.rs(+1 -1)📝
crates/client/src/tests.rs(+1 -1)📝
crates/proto/src/dnssec/handle.rs(+1 -0)📝
crates/proto/src/xfer/dns_exchange.rs(+53 -50)📝
crates/proto/src/xfer/dns_handle.rs(+9 -3)📝
crates/proto/src/xfer/mod.rs(+7 -3)📝
crates/proto/src/xfer/retry_dns_handle.rs(+4 -1)...and 21 more files
📄 Description
This adds an associated type to the
DnsHandletrait for the runtime provider in use, and adds generic type parameters to implementors and other types as needed. This is preparatory work for #3158.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.