Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional serde support for DnsName/DnsNameRef #238

Closed
wants to merge 1 commit into from

Conversation

clarfonthey
Copy link

I would add implement Serialize/Display for DnsNameRef but I figured there was a good reason to not store it as &str, and didn't want to bother with refactoring that without talking to anyone.

This adds serde support for both types under an optional feature. It also implements Display for DnsName since I figured it'd be reasonable to have.

@clarfonthey
Copy link
Author

cc @briansmith as I'm going through old PRs: assuming I resolve the merge conflict, would you still be interested in merging this, or should I assume that inaction here means it's not desired? I don't mind either way, just want to check since this PR is 3 years old and I wouldn't mind rebasing it if you do think it's useful.

@briansmith
Copy link
Owner

I don't think adding Serde support makes sense for this project. I think there are ways of doing this without webpki having to provide the functionality itself. Sorry about the radio silence.

@briansmith briansmith closed this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants