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

Add Support for UUIDs #1029

Merged
merged 3 commits into from
Jan 18, 2024
Merged

Add Support for UUIDs #1029

merged 3 commits into from
Jan 18, 2024

Conversation

Rabbitminers
Copy link
Contributor

@Rabbitminers Rabbitminers commented Jan 17, 2024

This allows for UUID's to be used directly as an optional feature flag. Aside from the added ease of use this also skips the added cast to a string if we where to read the UUID as string then parse it.

In short FromRedisValue and ToRedisArgs implementations for the Uuid type from the uuid crate aswell as some related tests

Copy link
Contributor

@nihohit nihohit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rabbitminers Thanks for the contribution! please fix the lint, and the comment.

redis/src/types.rs Outdated Show resolved Hide resolved
@nihohit nihohit merged commit 8a90f7a into redis-rs:main Jan 18, 2024
10 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.

None yet

2 participants