[PR #1050] [MERGED] Export CAA Property::as_str #1916

Closed
opened 2026-03-16 03:42:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1050
Author: @belak
Created: 3/25/2020
Status: Merged
Merged: 3/26/2020
Merged by: @bluejekyll

Base: masterHead: caa-as-str


📝 Commits (1)

  • 7ee111b Export CAA Property::as_str

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 crates/proto/src/rr/rdata/caa.rs (+2 -1)

📄 Description

I use this as a part of an IRC bot (to provide a !dig command) and without as_str, formatting this is much harder as I'd need to handle all the enum variants myself. This exports as_str from the CAA Property similarly to the DNSSEC Algorithm.

Additionally, I've started looking at implementing Display for some of the record types, but I'm not sure how useful that would be (that isn't included in this PR).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/1050 **Author:** [@belak](https://github.com/belak) **Created:** 3/25/2020 **Status:** ✅ Merged **Merged:** 3/26/2020 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `master` ← **Head:** `caa-as-str` --- ### 📝 Commits (1) - [`7ee111b`](https://github.com/hickory-dns/hickory-dns/commit/7ee111ba147ad0c8cd8a31617714409274f73509) Export CAA Property::as_str ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/proto/src/rr/rdata/caa.rs` (+2 -1) </details> ### 📄 Description I use this as a part of an IRC bot (to provide a !dig command) and without as_str, formatting this is much harder as I'd need to handle all the enum variants myself. This exports as_str from the CAA Property similarly to the DNSSEC Algorithm. Additionally, I've started looking at implementing Display for some of the record types, but I'm not sure how useful that would be (that isn't included in this PR). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 03:42:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#1916
No description provided.