Skip to content

Add ParsedUri::try_to_uri_str helper#79

Merged
ok300 merged 1 commit intopubky:mainfrom
ok300:ok300-add-tostring-to-parseduri
Dec 1, 2025
Merged

Add ParsedUri::try_to_uri_str helper#79
ok300 merged 1 commit intopubky:mainfrom
ok300:ok300-add-tostring-to-parseduri

Conversation

@ok300
Copy link
Contributor

@ok300 ok300 commented Nov 28, 2025

Currently, ParsedUri::try_from(&str) allows converting a String URI to ParsedUri, but there is no way to convert back.

This PR covers this by adding ParsedUri::try_to_uri_str and tests.

@ok300 ok300 requested review from SHAcollision and tipogi November 28, 2025 09:12
@ok300 ok300 merged commit 8b05c5f into pubky:main Dec 1, 2025
3 checks passed
@ok300 ok300 deleted the ok300-add-tostring-to-parseduri branch December 1, 2025 14:21
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.

2 participants