This PR adds support for CB58 encoding via a feature flag.
While I understand this is very specific functionality, there is other specific functionality in the crate already and this feature flag wouldn't add any overhead to users that do not make use of this feature.
Let me know if you require more changes.
I have added doctests to the functions to encode/decode with the cb58 checksum.
Some elements (like the error variants) are now exposed when the feature is enabled, mirroring the check feature functionality.
This PR adds support for CB58 encoding via a feature flag.
While I understand this is very specific functionality, there is other specific functionality in the crate already and this feature flag wouldn't add any overhead to users that do not make use of this feature.
Let me know if you require more changes. I have added doctests to the functions to encode/decode with the cb58 checksum. Some elements (like the error variants) are now exposed when the feature is enabled, mirroring the
check
feature functionality.