mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #2005] [MERGED] Add webpki-roots and native-certs crate features, take 2 #2754
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#2754
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/2005
Author: @daxpedda
Created: 8/22/2023
Status: ✅ Merged
Merged: 8/31/2023
Merged by: @bluejekyll
Base:
main← Head:native-certs-2📝 Commits (5)
9b75752Remove unusedrustls-webpkidependency1f96206Addwebpki-rootsandnative-certsfeaturesabf0079Fold error intoDnsExchangeConnectFuture9047e08Userequired-featuresfor examples4287043Fix CI📊 Changes
27 files changed (+275 additions, -120 deletions)
View changed files
📝
Cargo.lock(+15 -3)📝
Cargo.toml(+2 -2)📝
crates/client/Cargo.toml(+3 -1)📝
crates/proto/Cargo.toml(+6 -4)📝
crates/proto/src/error.rs(+7 -0)📝
crates/proto/src/https/https_client_stream.rs(+28 -6)📝
crates/proto/src/quic/mod.rs(+1 -1)📝
crates/proto/src/quic/quic_client_stream.rs(+41 -13)📝
crates/proto/src/rr/rr_set.rs(+1 -1)📝
crates/proto/src/serialize/txt/parse_rdata.rs(+5 -5)📝
crates/proto/src/xfer/dns_exchange.rs(+12 -0)📝
crates/resolver/Cargo.toml(+21 -1)📝
crates/resolver/examples/custom_provider.rs(+7 -7)📝
crates/resolver/examples/flush_cache.rs(+0 -8)📝
crates/resolver/examples/global_resolver.rs(+0 -13)📝
crates/resolver/examples/multithreaded_runtime.rs(+0 -6)📝
crates/resolver/src/caching_client.rs(+2 -2)📝
crates/resolver/src/config.rs(+2 -0)📝
crates/resolver/src/https.rs(+17 -8)📝
crates/resolver/src/quic.rs(+16 -8)...and 7 more files
📄 Description
This splits the changes from #1943 into two parts. This is the first part, only introducing loading the native certificates. The changes are basically only touching the code that was loading certificates from
webpki-rootsand introducing the new crate features.I could split this up further into
trust-dns-protoandtrust-dns-resolver?This implementation has the big downside that
trust-dns-resolverwill attempt to load the native certificates only once and save theResultin aLazy. So there currently no way for the user to re-attempt or reload the native certificates. This will be addressed in the second part.Replaces #1943.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.