Downgrade tiny-bip39 to version < 0.8

This is required until BDK MSRV is changed to 1.51 or we replace
tiny-bip39 dependency.
This commit is contained in:
Steve Myers 2021-09-26 18:51:03 -07:00
parent 919522a456
commit 8c21bcf40a
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

View File

@ -32,11 +32,12 @@ rocksdb = { version = "0.14", default-features = false, features = ["snappy"], o
cc = { version = ">=1.0.64", optional = true } cc = { version = ">=1.0.64", optional = true }
socks = { version = "0.3", optional = true } socks = { version = "0.3", optional = true }
lazy_static = { version = "1.4", optional = true } lazy_static = { version = "1.4", optional = true }
tiny-bip39 = { version = "^0.8", optional = true }
zeroize = { version = "<1.4.0", optional = true } # the latest 0.8 version of tiny-bip39 depends on zeroize_derive 1.2 which has MSRV 1.51 and our
# 1.2 broke something so fix this until https://github.com/maciejhirsz/tiny-bip39/pull/29 is merged. # MSRV is 1.46, to fix this until we update our MSRV or replace the tiny-bip39
# (or we get rid of the tiny-bip39 dependency https://github.com/bitcoindevkit/bdk/issues/399) # dependency https://github.com/bitcoindevkit/bdk/issues/399 we can only use an older version
zeroize_derive = { version = "~1.1.0", optional = true } tiny-bip39 = { version = "< 0.8", optional = true }
bitcoinconsensus = { version = "0.19.0-3", optional = true } bitcoinconsensus = { version = "0.19.0-3", optional = true }
# Needed by bdk_blockchain_tests macro # Needed by bdk_blockchain_tests macro
@ -60,7 +61,7 @@ sqlite = ["rusqlite"]
compact_filters = ["rocksdb", "socks", "lazy_static", "cc"] compact_filters = ["rocksdb", "socks", "lazy_static", "cc"]
key-value-db = ["sled"] key-value-db = ["sled"]
all-keys = ["keys-bip39"] all-keys = ["keys-bip39"]
keys-bip39 = ["tiny-bip39", "zeroize", "zeroize_derive"] keys-bip39 = ["tiny-bip39"]
rpc = ["core-rpc"] rpc = ["core-rpc"]
# We currently provide mulitple implementations of `Blockchain`, all are # We currently provide mulitple implementations of `Blockchain`, all are