From a28e7d1db51d9a75cb34bb913b722cdd3feb117c Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 14 Jul 2023 14:49:48 +1000 Subject: [PATCH] WIP: Depend on unreleased hashes v0.13.0 --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ca1bc45a7..7bfdfcdd0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ serde = { version = "1.0.103", default-features = false, optional = true } # You likely only want to enable these if you explicitly do not want to use "std", otherwise enable # the respective -std feature e.g., hashes-std -hashes = { package = "bitcoin_hashes", version = "0.12.0", default-features = false, optional = true } +hashes = { package = "bitcoin_hashes", version = "0.13.0", default-features = false, optional = true } rand = { version = "0.8", default-features = false, optional = true } [dev-dependencies] @@ -69,3 +69,8 @@ required-features = ["rand-std"] [workspace] members = ["secp256k1-sys"] exclude = ["no_std_test"] + +[patch.crates-io.bitcoin_hashes] +git = "https://github.com/tcharding/rust-bitcoin" +# tharding/06-20-hashes-release: PR #1917 +rev = "c518c8019b4dcf9c0052df28684b8e622bed9dbc" # commit: `hashes: Bump version to 0.13.0`