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

More serde and parsing impls #546

Merged
merged 5 commits into from Nov 1, 2021
Merged

More serde and parsing impls #546

merged 5 commits into from Nov 1, 2021

Conversation

KodrAus
Copy link
Member

@KodrAus KodrAus commented Nov 1, 2021

Closes #534, #457, #532

This PR implements TryFrom<&str> for Uuid. I didn't add String or &String at this stage. They may become useful in generic contexts, but at least for String I don't think you'd want to lose the owned data if converting into a Uuid doesn't succeed.

It also ensures the serde readable format is able to handle the fixed-size tuples the non-readable format uses.

@KodrAus KodrAus merged commit b0fcdac into uuid-rs:main Nov 1, 2021
18 checks passed
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.

1 participant