Skip to content
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

Only transform arrays to hex when using human-readable serialisers? #14

Open
fadedbee opened this issue Apr 18, 2021 · 2 comments
Open

Comments

@fadedbee
Copy link

This create is just what I need for use with serde_json.

Unfortunately, it doubles the length of all arrays when used with bincode, etc.

Is there a way of ignoring serde-hex for bincode serialisation, while keeping it for serde_json?

@fadedbee
Copy link
Author

I notice that secp256k1 uses d.is_human_readable().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant