-
Notifications
You must be signed in to change notification settings - Fork 809
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 usage of derivative #7122
Comments
At a first glance https://github.com/ModProg/derive-where seems solid |
I am currently using https://github.com/magiclen/educe in #7123 and that works fine. Happy to change all the educe usage to derive-where if that's what we are going to use. |
both look good to me, |
We should check which one is maintained more and then use that one. |
derive_more has 97m downloads |
I don't see anything about declaring bounds in on crates.io: |
IMO, the syntax of educe: #[derive(Educe)]
#[educe(Clone)]
struct Foo; derive-where: #[derive_where(Clone)]
struct Foo; |
Yeah that is true. @conr2d you want to work on this? Maybe it is worth looking into |
@bkchr Yup. I submitted PR replacing |
# Description Close #7122. This PR replaces the unmaintained `derivative` dependency with `derive-where`. ## Integration This PR doesn't change the public interfaces. ## Review Notes The `derivative` crate, previously used to derive basic traits for structs with generics or enums, is no longer actively maintained. It has been replaced with the `derive-where` crate, which offers a more straightforward syntax while providing the same features as `derivative`. --------- Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
# Description Close #7122. This PR replaces the unmaintained `derivative` dependency with `derive-where`. ## Integration This PR doesn't change the public interfaces. ## Review Notes The `derivative` crate, previously used to derive basic traits for structs with generics or enums, is no longer actively maintained. It has been replaced with the `derive-where` crate, which offers a more straightforward syntax while providing the same features as `derivative`. --------- Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
discovered in #7123 that derivative is buggy and unmaintained. See more at mcarton/rust-derivative#117
The text was updated successfully, but these errors were encountered: