Silence the unused h3 warning in the vendored hickory resolver #248

Merged
jcoffey-dev merged 1 commits from fix/hickory-h3-warning into main 2026-10-30 04:48:22 +00:00
2 changed files with 7 additions and 2 deletions

No files matched your search

+6 -1
View File
@@ -18,7 +18,12 @@ UDP answer.
## Changes
None. Each directory is `cargo package --no-verify` of that commit (the
One: in `hickory-resolver/src/name_server.rs`, `let h3` is gated on
`__h3` instead of `__tls`, so a build with TLS but without HTTP/3 (ours)
no longer warns about an unused variable. hickory's `main` has the same
line; `release/0.26` doesn't yet. Drop it when re-vendoring past it.
Otherwise each directory is `cargo package --no-verify` of that commit (the
manifest normalized, so it builds outside hickory's workspace), without
`Cargo.lock`, `Cargo.toml.orig` and `.cargo_vcs_info.json` (the
repository ignores dotfiles; the commit is recorded above).
+1 -1
View File
@@ -91,7 +91,7 @@ impl<P: ConnectionProvider> NameServer<P> {
let https = Arc::from(ConnectionMeta::default());
#[cfg(feature = "__quic")]
let quic = Arc::from(ConnectionMeta::default());
#[cfg(feature = "__tls")]
#[cfg(feature = "__h3")]
let h3 = Arc::from(ConnectionMeta::default());
let mut connections = connections