From 53ef425d77b5c45ee696779f189af3353805015c Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 28 Jun 2023 09:43:53 +1000 Subject: [PATCH] WIP: Update the `hashes` dependency to v0.13 This is WIP because we need a branch with this change so we can depend on it to build `bitcoin` while updating the `hashes` dependency there. Update to the soon-to-be-released version of `hashes`. Adds a patch section to the manifest which should be removed once we release the new version of `hashes`. --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0f265559c..36804f428 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,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., bitcoin-hashes-std -bitcoin_hashes = { version = "0.12", default-features = false, optional = true } +bitcoin_hashes = { version = "0.13", default-features = false, optional = true, git = "https://github.com/tcharding/rust-bitcoin", branch = "06-20-hashes-release" } rand = { version = "0.8", default-features = false, optional = true } [dev-dependencies] @@ -70,3 +70,7 @@ required-features = ["rand-std"] [workspace] members = ["secp256k1-sys"] exclude = ["no_std_test"] + +[patch.crates-io.bitcoin-internals] +git = "https://github.com/tcharding/rust-bitcoin" +branch = "06-20-internals-release"