diff --git a/Cargo.toml b/Cargo.toml index ca1bc45a7..8df7c352b 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 = "7845c0bb445287b3d602edfa215f2a3b9fa111ce" # commit: `hashes: Bump version to 0.13.0`