]> Untitled Git - bdk/commitdiff
Pin ahash version to 0.7.4 for sqlite feature
authorSteve Myers <steve@notmandatory.org>
Thu, 14 Oct 2021 15:24:32 +0000 (08:24 -0700)
committerSteve Myers <steve@notmandatory.org>
Thu, 14 Oct 2021 15:24:32 +0000 (08:24 -0700)
The `ahash` crate is used by the `sqlite` feature but the latest update (0.7.5)
breaks compatibility with our current MSRV 1.46.0. See also:
https://github.com/tkaitchuck/aHash/issues/99

Cargo.toml

index dd4fc911167bc9e30b65e60d240e78de3f337d29..7768ebb629bba6a36967acdc17160fcc4338eab7 100644 (file)
@@ -24,6 +24,7 @@ rand = "^0.7"
 sled = { version = "0.34", optional = true }
 electrum-client = { version = "0.8", optional = true }
 rusqlite = { version = "0.25.3", optional = true }
+ahash = { version = "=0.7.4", optional = true }
 reqwest = { version = "0.11", optional = true, features = ["json"] }
 ureq = { version = "2.1", features = ["json"], optional = true }
 futures = { version = "0.3", optional = true }
@@ -57,7 +58,7 @@ minimal = []
 compiler = ["miniscript/compiler"]
 verify = ["bitcoinconsensus"]
 default = ["key-value-db", "electrum"]
-sqlite = ["rusqlite"]
+sqlite = ["rusqlite", "ahash"]
 compact_filters = ["rocksdb", "socks", "lazy_static", "cc"]
 key-value-db = ["sled"]
 all-keys = ["keys-bip39"]