mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[PR #2464] [MERGED] Move RuntimeProvider into proto #3062
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#3062
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/2464
Author: @djc
Created: 9/17/2024
Status: ✅ Merged
Merged: 9/19/2024
Merged by: @djc
Base:
main← Head:futures📝 Commits (6)
bd7f804Use std futures where possible19bcb93proto: invert branch to linearize function7a2063aproto: move runtime code into a moduled3bc5e5Move RuntimeProvider into proto3350c02proto: use RuntimeProvider to build UDP stream08facf8proto: make sure to always poll future📊 Changes
69 files changed (+872 additions, -883 deletions)
View changed files
📝
bin/benches/comparison_benches.rs(+7 -6)📝
bin/tests/integration/named_https_tests.rs(+2 -2)📝
bin/tests/integration/named_quic_tests.rs(+1 -1)📝
bin/tests/integration/named_rustls_tests.rs(+4 -4)📝
bin/tests/integration/named_test_rsa_dnssec.rs(+4 -4)📝
bin/tests/integration/named_tests.rs(+27 -25)📝
crates/async-std-resolver/src/runtime.rs(+2 -3)📝
crates/async-std-resolver/src/tests.rs(+1 -1)📝
crates/async-std-resolver/src/time.rs(+1 -1)📝
crates/client/src/client/async_client.rs(+2 -2)📝
crates/client/src/client/async_secure_client.rs(+1 -1)📝
crates/client/src/h2_client_connection.rs(+1 -1)📝
crates/client/src/lib.rs(+1 -1)📝
crates/client/src/tcp/tcp_client_connection.rs(+2 -2)📝
crates/client/src/udp/udp_client_connection.rs(+5 -4)📝
crates/proto/src/h2/h2_client_stream.rs(+2 -2)📝
crates/proto/src/h3/h3_client_stream.rs(+2 -2)📝
crates/proto/src/lib.rs(+1 -164)📝
crates/proto/src/multicast/mdns_client_stream.rs(+4 -2)📝
crates/proto/src/multicast/mdns_stream.rs(+4 -3)...and 49 more files
📄 Description
Looking at the code in #2462 I wasn't very happy with the abstractions so I started pulling on some threads. This resulted in moving the
RuntimeProviderfrom the resolver crate to proto, which IMO makes more sense as it doesn't have any dependencies on resolver code. The last commit makes the same change as #2462 but IMO does so in a cleaner way.cc @mokeyish would be happy to get your feedback!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.