-
Notifications
You must be signed in to change notification settings - Fork 36
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
follow up derive_more release 1.0 #55
Comments
Yep it's on my todo list, but if I'm not mistaken 1.0 is not yet released. Right? |
Another potential option would be to remove derive_more and add in the manual implementations. I know it's a bit of faff but from |
I'd accept that, the thought crossed my mind too. I just didn't want to spend the time to actually implement it. If you have the motivation to do this, go for it :) |
Here's a partial attempt I made a few weeks ago: https://github.com/mstange/zstd-rs/commits/displaydoc-instead-of-derive_more/ It uses After I made the changes linked above, I discovered that #[cfg_attr(feature = "std", derive(thiserror::Error))]
#[cfg_attr(not(feature = "std"), derive(thiserror_no_std::Error))] So I think using |
We actually switched from thiserror_no_std to derive_more. I don't remember why and am on mobile so looking it up is a bit difficult. But I think if this issue is tackled again I would want it to just stay dealt with. Which means either derive_more finally releases 1.0 or we just drop the dependency alltogether. Swapping it just seems like a temporary fix at this point |
Looking at the history, it was actually |
Yeah personally I'll just roll the implementations myself, part of my desire is shaving a non-insignificant chunk off my projects build time. Anyway after doing |
please follow derive_more to upgrade 1.0 version.
JelteF/derive_more#259
Because it will use
syn
2.0 and a lot other package will use it too. Now in our project, there are two version ofsyn
.The text was updated successfully, but these errors were encountered: