mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #1536] [MERGED] Make trust_dns_proto::rr::Record serializable #2399
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#2399
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/1536
Author: @mvforell
Created: 8/11/2021
Status: ✅ Merged
Merged: 8/26/2021
Merged by: @bluejekyll
Base:
main← Head:main📝 Commits (5)
e251db2make trust_dns_proto::rr::Record serializable2e19feeenable url/serde only for the serde-config feature4116f50Merge branch 'main' into mainba4174efix deprecation warnings for proto::rr::dnssec::rdata::key6024eafMerge branch 'main' into main📊 Changes
31 files changed (+142 additions, -17 deletions)
View changed files
📝
Cargo.lock(+1 -0)📝
crates/proto/Cargo.toml(+1 -1)📝
crates/proto/src/rr/dns_class.rs(+4 -0)📝
crates/proto/src/rr/dnssec/algorithm.rs(+4 -0)📝
crates/proto/src/rr/dnssec/digest_type.rs(+4 -0)📝
crates/proto/src/rr/dnssec/nsec3.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/dnskey.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/ds.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/key.rs(+9 -16)📝
crates/proto/src/rr/dnssec/rdata/mod.rs(+5 -0)📝
crates/proto/src/rr/dnssec/rdata/nsec.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/nsec3.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/nsec3param.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/sig.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/tsig.rs(+5 -0)📝
crates/proto/src/rr/dnssec/supported_algorithm.rs(+4 -0)📝
crates/proto/src/rr/rdata/caa.rs(+7 -0)📝
crates/proto/src/rr/rdata/hinfo.rs(+4 -0)📝
crates/proto/src/rr/rdata/mx.rs(+4 -0)📝
crates/proto/src/rr/rdata/naptr.rs(+4 -0)...and 11 more files
📄 Description
When using the
serde-configfeature, I noticed that thetrust_dns_proto::rr::Recordis notDeserializeandSerialize. This can be achieved by adding a conditional derive to all its subtypes.There are some deprecation warnings for
crates/proto/src/rr/dnssec/rdata/key.rs, but I'm not sure how to fix them.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.