-
Notifications
You must be signed in to change notification settings - Fork 169
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
Change errors to use thiserror #1261
Comments
thiserror doesn't support no-std |
That's going to change when the In the meantime, we should use this fork. I've introduced it in my assembler changes (hope to have those pushed tonight/tomorrow). |
Hopefully, this will happen soon - but also I think the timing of this is rather unpredictable.
Seems like this crate was published just yesterday? I'd be hesitant to use such a new dependency (we try to minimize the number of dependencies in general, and when required use more stable and well-known dependencies). How critical is this to the assembler changes? |
I mean, we can fork I'm conservative about dependencies, more so than most I think, typically preferring to write something myself unless there are well established options that meet my other picky criteria, so I don't generally recommend a crate unless I believe it meets the bar for inclusion by a fair margin. In any case, I didn't think the question was whether we should start using That said, I'd suggest waiting to see what my changes look like, and evaluate in that context, since we may not have any other stuff in the works that needs it just yet and this will provide some useful comparison. |
Right - this is more of a general principal which I think is important specifically for crypto-related projects where supply-chain attacks are a very real risk. So, I try to keep the number of external dependencies to an absolute minimum and only use very well-known dependencies.
We we do want to use this |
The 1.81 release looks like it will contain the stabilized For Anyway, brain dumping this here for when we get to this, there isn't too much required to implement what I described above, so when I have some time to get to it, I'll do so. |
Closed by #1588. |
thiserror
craterelated: 0xPolygonMiden/miden-node#62
The text was updated successfully, but these errors were encountered: