mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #2544] [CLOSED] hickory-proto(serde): fix transparent structs and allow (de)serializing more types. #3128
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#3128
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/2544
Author: @ArjixWasTaken
Created: 11/1/2024
Status: ❌ Closed
Base:
main← Head:hickory-proto/serde📝 Commits (4)
05ad6c4hickory-proto(serde): enable more enums/structs to be (de)serialized503c556hickory-proto(serde): fix transparent structs88a651dformat codeede452ahickory-proto(serde): fix transparent structs x2📊 Changes
14 files changed (+60 additions, -20 deletions)
View changed files
📝
crates/proto/src/op/edns.rs(+4 -0)📝
crates/proto/src/op/header.rs(+5 -0)📝
crates/proto/src/op/message.rs(+4 -0)📝
crates/proto/src/op/op_code.rs(+4 -0)📝
crates/proto/src/op/query.rs(+4 -0)📝
crates/proto/src/op/response_code.rs(+4 -0)📝
crates/proto/src/rr/dnssec/rdata/cdnskey.rs(+1 -0)📝
crates/proto/src/rr/dnssec/rdata/cds.rs(+1 -0)📝
crates/proto/src/rr/dnssec/rdata/rrsig.rs(+1 -0)📝
crates/proto/src/rr/rdata/a.rs(+1 -0)📝
crates/proto/src/rr/rdata/aaaa.rs(+1 -0)📝
crates/proto/src/rr/rdata/https.rs(+1 -0)📝
crates/proto/src/rr/rdata/name.rs(+1 -0)📝
crates/proto/src/rr/rdata/svcb.rs(+28 -20)📄 Description
Makes the following enums/structs (De)Serializable.
MessageHeaderOpCodeResponseCodeQueryEdnsAnd introduces
#[serde(transparent)]on transparent structs that would otherwise fail to deserialize after being serialized.Each commit is self-contained, so I'd advise you to review the changes made by looking at each commit.
Resolves #2511
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.