From 11770cac1c6efbe03c4dded93b22426832ff87cd Mon Sep 17 00:00:00 2001 From: "Jamil Lambert, PhD" Date: Fri, 14 Feb 2025 12:28:35 +0000 Subject: [PATCH] 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` --- io/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/io/Cargo.toml b/io/Cargo.toml index d245121da..f59c35e00 100644 --- a/io/Cargo.toml +++ b/io/Cargo.toml @@ -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"]