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 additional automatic derives for SyncType and UsageType #82

Open
raphaelcohn opened this issue Jul 26, 2021 · 2 comments
Open

Add additional automatic derives for SyncType and UsageType #82

raphaelcohn opened this issue Jul 26, 2021 · 2 comments

Comments

@raphaelcohn
Copy link

These types lack some ordering derives. Whilst it might seem odd to some, having a comparison implementation on these types means they can have a consist sort order when being displayed. It might also be nice to implement the Display trait, perhaps using strum.

@a1ien
Copy link
Owner

a1ien commented Jul 26, 2021

I can add ordering derive but I don't like add more dependency. I want keep crate minimal as possible. If implement Display its can be easily done by manual implementation.

@raphaelcohn
Copy link
Author

Ok, I can understand not adding a dependency on strum.

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

No branches or pull requests

2 participants