mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-26 03:35:52 +03:00
[GH-ISSUE #1940] dns-over-quic pulls in rustls-native-certs by default #825
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#825
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?
Originally created by @daxpedda on GitHub (May 20, 2023).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1940
I'm not entirely sure, but it seems to me that
dns-over-quicuseswebpkiby default:github.com/bluejekyll/trust-dns@41b6e33c51/crates/proto/src/quic/quic_client_stream.rs (L275-L282)But because the
quinndependency is used withdefault-features, it pulls inrustls-native-certs.Would a PR be acceptable that changes
quinnto usedefault-features = false?@djc commented on GitHub (May 21, 2023):
Yeah... although maybe it makes more sense to switch trust-dns to use native-certs everywhere by default?
@daxpedda commented on GitHub (May 21, 2023):
If you like I could tackle that as well, but I would like to keep the ability to drop the
rustls-native-certsdependency when not needed.So one suggestion would be to just introduce a bunch of new features:
dns-over-rustls-native-certsdns-over-rustls-webpkidns-over-https-rustls-native-certsdns-over-https-rustls-webpkidns-over-quic-native-certsdns-over-quic-webpkiOr alternatively having to select between the two separately, but having no default at all:
dns-over-rustlsdns-over-https-rustlsdns-over-quicnative-certswebpki@djc commented on GitHub (May 22, 2023):
It seems like it would be better to have orthogonal feature flags rather than a combinatorial explosion of them. Presumably downstream crates would want to pick either rustls-native-certs (or maybe soon rustls-platform-verifier) or webpki-roots, but generally not mix and match. If you'd be interested in improving on that, would be great!