Skip to content

Commit d567f87

Browse files
committed
Enable bitcoin_hashes v0.14.0
Hardware devices like the smallest binary possible, currently if one builds with `rust-bitcoin v0.32` and `rust-bip39` they get two versions of `bitcoin_hashes` in the dependency graph because we don't support `bitcoin_hashes v0.14`. Note that using `bitcoin_hashes 0.14` bumps the MSRV to Rust v1.56.1
1 parent 5bb4711 commit d567f87

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ serde = { version = "1.0", default-features = false, features = [ "alloc" ], opt
4949
zeroize = { version = "1.5", features = ["zeroize_derive"], optional = true }
5050

5151
# Unexported dependnecies
52-
bitcoin_hashes = { version = ">=0.12, <=0.13", default-features = false }
52+
bitcoin_hashes = { version = ">=0.12,<0.15", default-features = false }
5353
unicode-normalization = { version = "0.1.22", default-features = false, optional = true }
5454

5555
[dev-dependencies]
5656
# Enabling the "rand" feature by default to run the benches
5757
bip39 = { path = ".", features = ["rand"] }
58-
bitcoin_hashes = ">=0.12,<0.14" # enable default features for test
58+
bitcoin_hashes = ">=0.12,<0.15" # enable default features for test
5959

6060

6161
[package.metadata.docs.rs]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The `bitcoin_hashes` range dependency effects the MSRV as follows
3535

3636
- `bitcoin_hashes v0.12`: MSRV v1.41.1
3737
- `bitcoin_hashes v0.13`: MSRV v1.48.0
38+
- `bitcoin_hashes v0.14`: MSRV v1.56.0
3839

3940
When using older version of Rust, you might have to pin the versions of several crates, for an up-to-date list refer to [`contrib/test.sh`](contrib/test.sh):
4041

0 commit comments

Comments
 (0)