-
Couldn't load subscription status.
- Fork 305
Parity conversion and error handling cleanup
#403
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
Conversation
|
|
|
Aren't we doing ecosystem-wide MSRV bump to 1.41.1? |
|
Sure thing. Perhaps we could have a label for 'will work once we bump MSRV' to help us queue these changes up and to save others checking what the CI fail is about? |
7d66770 to
e0767d3
Compare
|
Spurious CI error |
|
Looks like CI is working again -- but PR still needs update if we're going to get it into this major version (which does not increase MSRV) |
|
ACK cf6badf aside from the |
This removes the deprecated `From` conversion and adds a new error type for the invalid parity error with a conversion to the catch-all `Error`.
e0767d3 to
5acf6d2
Compare
|
Fixed (changed to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 5acf6d2
…handling cleanup
5acf6d23d3636d88d628cb53306b37a8af81b133 `Parity` conversion and error handling cleanup (Martin Habovstiak)
Pull request description:
This removes the deprecated `From` conversion, replaces it with
`TryFrom`, and adds more convenience conversions. A new error type is
created for the invalid parity error with conversion to catch-all
`Error`.
This is intended for an API-breaking version.
ACKs for top commit:
apoelstra:
ACK 5acf6d23d3636d88d628cb53306b37a8af81b133
Tree-SHA512: 49b73fc90455c172012b46f36eafa7d256b940f4b431b4eedb577ab07d9402eae40af931e00b3c409bbe502dbcac064a742e874a5e8bedd8d0cbe92a468ae4f6
…handling cleanup
5acf6d23d3636d88d628cb53306b37a8af81b133 `Parity` conversion and error handling cleanup (Martin Habovstiak)
Pull request description:
This removes the deprecated `From` conversion, replaces it with
`TryFrom`, and adds more convenience conversions. A new error type is
created for the invalid parity error with conversion to catch-all
`Error`.
This is intended for an API-breaking version.
ACKs for top commit:
apoelstra:
ACK 5acf6d23d3636d88d628cb53306b37a8af81b133
Tree-SHA512: 49b73fc90455c172012b46f36eafa7d256b940f4b431b4eedb577ab07d9402eae40af931e00b3c409bbe502dbcac064a742e874a5e8bedd8d0cbe92a468ae4f6
This removes the deprecated
Fromconversion, replaces it withTryFrom, and adds more convenience conversions. A new error type iscreated for the invalid parity error with conversion to catch-all
Error.This is intended for an API-breaking version.