Skip to content

Commit

Permalink
Add hashes to io dev-depencies and require hex
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
jamillambert committed Feb 14, 2025
1 parent e7c6564 commit 11770ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 11770ca

Please sign in to comment.