mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #1625] [MERGED] Fix minimal dependency versions #2466
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#2466
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/1625
Author: @glts
Created: 2/3/2022
Status: ✅ Merged
Merged: 2/3/2022
Merged by: @djc
Base:
main← Head:min-versions📝 Commits (1)
baaa390Fix minimal dependency versions📊 Changes
6 files changed (+8 additions, -8 deletions)
View changed files
📝
crates/async-std-resolver/Cargo.toml(+1 -1)📝
crates/client/Cargo.toml(+1 -1)📝
crates/proto/Cargo.toml(+2 -2)📝
crates/resolver/Cargo.toml(+1 -1)📝
crates/server/Cargo.toml(+1 -1)📝
tests/integration-tests/Cargo.toml(+2 -2)📄 Description
This is a small improvement that helps dependents build with minimal versions.
0.1.42→0.1.43(compile error in trust-dns-server with 0.1.42)1.0→1.2.0(compile error in trust-dns-proto with 1.0.0)To find these version updates, I generated an app with
cargo newand added a dependency one by one on each of the Trust-DNS packages, each time runningcargo +nightly update -Z minimal-versions, followed bycargo check.In the future, checking minimal dependency versions (if desired at all) could be done in CI. I cannot look into this for now, so tested this change manually. More could be done, but this seems like a sensible first step.
Note that there is also #919 for this, but there hasn’t been any activity there for a while.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.