Skip to content

Conversation

@Ash-L2L
Copy link
Contributor

@Ash-L2L Ash-L2L commented Aug 7, 2025

This could be smaller with hex-conservative::serde, but unfortunately the bitcoin-hashes/serde feature does not enable hex-conservative/serde. Adding hex-conservative as a direct dependency in order to enable the feature would require manually matching the version of hex-conservative to the version used in bitcoin-hashes.

@Davidson-Souza
Copy link
Collaborator

So. With this, rather than a vector of integers like [242, 80, 99...] we would get a hexadecimal (f25063...). That's nice! I think it would be nice to have some tests, tho

@Ash-L2L Ash-L2L force-pushed the 2025-08-07-serde-human-readable branch from 5884cce to ef2904c Compare August 12, 2025 12:50
@A-Manning
Copy link

Added tests!

@Davidson-Souza
Copy link
Collaborator

Not sure about the MSRV bump, we follow rust-bitcoin's for ecosystem compatibility.

@Ash-L2L Ash-L2L force-pushed the 2025-08-07-serde-human-readable branch from e5a1f12 to 8b3fb3b Compare August 13, 2025 19:31
@Ash-L2L
Copy link
Contributor Author

Ash-L2L commented Aug 13, 2025

Not sure about the MSRV bump, we follow rust-bitcoin's for ecosystem compatibility.

Updated to only bump rust version for the CI tests. The version bump is only required for dev-dependencies, the crate will still build on 1.63.0

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

Successfully merging this pull request may close these issues.

3 participants