Pin hashlink to 0.8.1 for sqlite feature to keep the MSRV to 1.57.0

This commit is contained in:
Steve Myers 2023-05-24 12:06:38 -05:00
parent 973cd9a286
commit 0bf9a0ee2c
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

View File

@ -32,6 +32,8 @@ 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 }
hwi = { version = "0.5", optional = true, features = ["use-miniscript"] } hwi = { version = "0.5", optional = true, features = ["use-miniscript"] }
# required for sqlite feature, hashlink versions after 0.8.1 depend on Hashbrown 0.13 with MSRV 1.61.0
hashlink = { version = "=0.8.1", optional = true }
bip39 = { version = "2.0.0", optional = true } bip39 = { version = "2.0.0", optional = true }
bitcoinconsensus = { version = "0.19.0-3", optional = true } bitcoinconsensus = { version = "0.19.0-3", optional = true }
@ -56,7 +58,7 @@ default = ["std", "key-value-db", "electrum"]
# std feature is always required unless building for wasm32-unknown-unknown target # std feature is always required unless building for wasm32-unknown-unknown target
# if building for wasm user must add dependencies bitcoin/no-std,miniscript/no-std # if building for wasm user must add dependencies bitcoin/no-std,miniscript/no-std
std = ["bitcoin/std", "miniscript/std"] std = ["bitcoin/std", "miniscript/std"]
sqlite = ["rusqlite", "ahash"] sqlite = ["rusqlite", "ahash", "hashlink"]
sqlite-bundled = ["sqlite", "rusqlite/bundled"] sqlite-bundled = ["sqlite", "rusqlite/bundled"]
compact_filters = ["rocksdb", "socks", "cc"] compact_filters = ["rocksdb", "socks", "cc"]
key-value-db = ["sled"] key-value-db = ["sled"]
@ -110,9 +112,9 @@ dev-getrandom-wasm = ["getrandom/js"]
miniscript = { version = "9.0", features = ["std"] } miniscript = { version = "9.0", features = ["std"] }
bitcoin = { version = "0.29.2", features = ["std"] } bitcoin = { version = "0.29.2", features = ["std"] }
lazy_static = "1.4" lazy_static = "1.4"
env_logger = "0.7" env_logger = { version = "0.7", default-features = false }
electrsd = "0.22" electrsd = "0.22"
# Move back to importing from rust-bitcoin once https://github.com/rust-bitcoin/rust-bitcoin/pull/1342 is released # Remove after upgrade to rust-bitcoin ^0.30 where base64 is re-exported
base64 = "^0.13" base64 = "^0.13"
assert_matches = "1.5.0" assert_matches = "1.5.0"
# zip versions after 0.6.3 don't work with our MSRV 1.57.0 # zip versions after 0.6.3 don't work with our MSRV 1.57.0