Skip to content

Commit

Permalink
Downgrade tiny-bip39 to version < 0.8
Browse files Browse the repository at this point in the history
This is required until BDK MSRV is changed to 1.51 or we replace
tiny-bip39 dependency.
  • Loading branch information
notmandatory committed Sep 27, 2021
1 parent c9ed8bd commit 1469a34
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ rocksdb = { version = "0.14", default-features = false, features = ["snappy"], o
cc = { version = ">=1.0.64", optional = true }
socks = { version = "0.3", optional = true }
lazy_static = { version = "1.4", optional = true }
tiny-bip39 = { version = "^0.8", optional = true }
zeroize = { version = "<1.4.0", optional = true }
# 1.2 broke something so fix this until https://github.com/maciejhirsz/tiny-bip39/pull/29 is merged.
# (or we get rid of the tiny-bip39 dependency https://github.com/bitcoindevkit/bdk/issues/399)
zeroize_derive = { version = "~1.1.0", optional = true }

# the latest 0.8 version of tiny-bip39 depends on zeroize_derive 1.2 which has MSRV 1.51 and our
# MSRV is 1.46, to fix this until we update our MSRV or replace the tiny-bip39
# dependency https://github.com/bitcoindevkit/bdk/issues/399 we can only use an older version
tiny-bip39 = { version = "< 0.8", optional = true }

bitcoinconsensus = { version = "0.19.0-3", optional = true }

# Needed by bdk_blockchain_tests macro
Expand All @@ -60,7 +61,7 @@ sqlite = ["rusqlite"]
compact_filters = ["rocksdb", "socks", "lazy_static", "cc"]
key-value-db = ["sled"]
all-keys = ["keys-bip39"]
keys-bip39 = ["tiny-bip39", "zeroize", "zeroize_derive"]
keys-bip39 = ["tiny-bip39"]
rpc = ["core-rpc"]

# We currently provide mulitple implementations of `Blockchain`, all are
Expand Down

0 comments on commit 1469a34

Please sign in to comment.