Add hashes to io dev-depencies and require hex

The tests in `hash` require hex.  Previously this was enabled when
`alloc` was enabled.  Now `alloc` doesn't enable `hex` add `hashes` to
`dev-dependecies` and set it to require `hex`
This commit is contained in:
Jamil Lambert, PhD 2025-02-14 12:28:35 +00:00
parent e7c6564d38
commit 11770cac1c
No known key found for this signature in database
GPG Key ID: 54DC29234AB5D2C0
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ internals = { package = "bitcoin-internals", version = "0.4.0" }
hashes = { package = "bitcoin_hashes", version = "0.16.0", default-features = false, optional = true }
[dev-dependencies]
hashes = { package = "bitcoin_hashes", version = "0.16.0", default-features = false, features = ["hex"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]