mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #498] [MERGED] resolver: Add missing fmt::Debugs and re-export returned futures #1485
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#1485
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/498
Author: @hawkw
Created: 5/29/2018
Status: ✅ Merged
Merged: 5/30/2018
Merged by: @bluejekyll
Base:
master← Head:eliza/async-resolver-api-improvement📝 Commits (1)
bac2758resolver: Add missingfmt::Debugs and re-export returned futures📊 Changes
2 files changed (+20 additions, -2 deletions)
View changed files
📝
resolver/src/async_resolver/mod.rs(+14 -1)📝
resolver/src/lib.rs(+6 -1)📄 Description
This PR fixes a handful of minor usability issues in the new
AsyncResolver's API that I hit while trying to use it downstream inrunconduit/conduit#1033. In particular, it adds a missing
fmt::Debugimplementation to
AsyncResolver(since the oldResolverFutureimplemented
fmt::Debug, and not implementing it may breakdownstream code that tries to format it), and publically re-exports
the futures returned by
AsyncResolver's lookup methods, so thattheir types are actually nameable in downstream code.
Signed-off-by: Eliza Weisman eliza@buoyant.io
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.