We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have implemented To/FromHex on most of our primitives as it makes that conversion much easier for our codebase, but it adds quite a bit of boilerplate code to all of those files. See here: https://github.com/UrkelLabs/rsd/blob/master/primitives/src/headers.rs#L242-L254
Granted it is only 12 LoC, but if we turned To/FromHex into a proc macro, we could eliminate these entirely.
This should be a relatively straight forward conversion as pretty much every struct that implements it, does so in the same way.
I'll list any potential excepts in this issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have implemented To/FromHex on most of our primitives as it makes that conversion much easier for our codebase, but it adds quite a bit of boilerplate code to all of those files. See here:
https://github.com/UrkelLabs/rsd/blob/master/primitives/src/headers.rs#L242-L254
Granted it is only 12 LoC, but if we turned To/FromHex into a proc macro, we could eliminate these entirely.
This should be a relatively straight forward conversion as pretty much every struct that implements it, does so in the same way.
I'll list any potential excepts in this issue.
The text was updated successfully, but these errors were encountered: