mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #312] [CLOSED] Introduce a Label type instead of using Rc<String> #1361
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#1361
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/312
Author: @little-dude
Created: 12/11/2017
Status: ❌ Closed
Base:
master← Head:label📝 Commits (3)
99d0194introduce a Label type that wraps Rcad0dd37help rustc with array to slice coercion98adaddfixup📊 Changes
25 files changed (+276 additions, -212 deletions)
View changed files
📝
compatibility-tests/tests/sig0_tests.rs(+3 -3)📝
integration-tests/tests/authority_tests.rs(+9 -9)📝
integration-tests/tests/client_future_tests.rs(+15 -15)📝
integration-tests/tests/client_tests.rs(+15 -15)📝
integration-tests/tests/secure_client_handle_tests.rs(+3 -3)📝
integration-tests/tests/server_future_tests.rs(+1 -1)📝
proto/src/op/query.rs(+1 -1)📝
proto/src/rr/dnssec/nsec3.rs(+1 -1)📝
proto/src/rr/dnssec/rdata/nsec.rs(+1 -1)📝
proto/src/rr/dnssec/rdata/sig.rs(+1 -1)📝
proto/src/rr/dnssec/tbs.rs(+1 -1)📝
proto/src/rr/domain.rs(+156 -96)📝
proto/src/rr/rdata/mx.rs(+1 -1)📝
proto/src/rr/rdata/name.rs(+1 -1)📝
proto/src/rr/rdata/soa.rs(+2 -2)📝
proto/src/rr/rdata/srv.rs(+1 -1)📝
proto/src/rr/record_data.rs(+21 -21)📝
proto/src/serialize/binary/encoder.rs(+4 -4)📝
proto/src/serialize/binary/mod.rs(+2 -0)📝
proto/src/serialize/mod.rs(+2 -0)...and 5 more files
📄 Description
I was looking again at https://github.com/bluejekyll/trust-dns/pull/305, and realized that I wanted to take a slice of Name. I started adding
Name.as_slice(), but then thought it was not very nice to have to manipulateRc<String>, so I decided to add aLabeltype.4ac7e37 is a bit unfortunate, but in theory, we could get rif of it later.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.