-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: provide hex conversion utilities
Implement `from_hex` and `to_hex` functions for the `PublicKey` and `SecretKey` types. BREAKING CHANGE: the `Eq`, `Serialize` and `Deserialize` derivations are removed from the error type because the derived hex error doesn't implement these. I'm finding myself repeating this code several times in places where I'm using the BLS library, so I thought it would be useful to just have it directly on these types.
- Loading branch information
Showing
3 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters