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

Replace derive_more (and remove syn 1.0 in favour of 2.0)? #1503

Open
jsdw opened this issue Mar 26, 2024 · 0 comments
Open

Replace derive_more (and remove syn 1.0 in favour of 2.0)? #1503

jsdw opened this issue Mar 26, 2024 · 0 comments

Comments

@jsdw
Copy link
Collaborator

jsdw commented Mar 26, 2024

https://crates.io/crates/derive_more hasn't had a release in a couple of years, and particularly it's still using syn 1.0. Is there a sensible alternative?

We mainly use it for Display impls and mainly on error types (which derivative and derive_where don't offer) to be no-std friendly (we previously used thiserror for this, but it's not no-std friendly). We have a couple of From impl uses too.

I recently replaced derivative with derive-where for a similar reason; it hadn't seen a release in 3 years, was triggering non-canonical compiler warnings with some of its impls, and was still using syn 1.0. Would be good to eliminate syn 1.0 from the dependency tree entirely or as much as possible :)

@jsdw jsdw changed the title Replace derive_more? Replace derive_more (and remove syn 1.0 in favour of 2.0)? Mar 27, 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

No branches or pull requests

1 participant