From a2f4f5e896cff6c26b185d43a2ff9e7295f60bd0 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Wed, 29 Jun 2022 14:22:16 +0100 Subject: [PATCH 1/2] Enable no-std usage --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index cd4c2aa..5c4ca22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ all-languages = [ ] [dependencies] -bitcoin_hashes = "0.9.4" +bitcoin_hashes = { version = "0.9.4", default-features = false } rand_core = "0.4.0" unicode-normalization = { version = "=0.1.9", optional = true } @@ -49,4 +49,5 @@ serde = { version = "1.0", default-features = false, optional = true } [dev-dependencies] rand = { version = "0.6.0", optional = false } +bitcoin_hashes = "0.9.4" # enable default features for test From 904e805f338e811fd49ec93fced9088df51a749c Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Wed, 29 Jun 2022 14:23:18 +0100 Subject: [PATCH 2/2] Bump non-exposed bitcoin_hashes dep to 0.11.0 This is not a breaking change. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5c4ca22..af996df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ all-languages = [ ] [dependencies] -bitcoin_hashes = { version = "0.9.4", default-features = false } +bitcoin_hashes = { version = "0.11.0", default-features = false } rand_core = "0.4.0" unicode-normalization = { version = "=0.1.9", optional = true } @@ -49,5 +49,5 @@ serde = { version = "1.0", default-features = false, optional = true } [dev-dependencies] rand = { version = "0.6.0", optional = false } -bitcoin_hashes = "0.9.4" # enable default features for test +bitcoin_hashes = "0.11.0" # enable default features for test