-
Notifications
You must be signed in to change notification settings - Fork 1k
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 implementations of Display
and Error
on errors with thiserror
#2509
Comments
I got this |
This means adding another error related dependency, that has no |
@mxinden thoughts? |
We already depend on I don't have much experience with |
if we already depend on it, then nvm in regards to this specific instance |
@demfabris still want to tackle this one? 😇 |
Yep @mxinden 👍🏻 |
I'll close this as stale. I don't think it worth having an issue around to track this. |
I would argue that a generated implementation of
Display
andError
viathiserror
is faster to write and easier to maintain. Thus I advocate for usingthiserror
for most of not all libp2p error types.The text was updated successfully, but these errors were encountered: