From 548e43d928d1492784dc465a28fa99b9ca263b9f Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Thu, 21 Oct 2021 19:54:14 +0200 Subject: [PATCH] Pin version of `backtrace` to maintain our MSRV --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7768ebb6..7d13018c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,9 @@ lazy_static = { version = "1.4", optional = true } # 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 } +# backtrace > 0.3.61 includes object v0.27 which doesn't compile on 1.46. this is used by +# tiny-bip39 +backtrace = { version = "=0.3.61", optional = true } bitcoinconsensus = { version = "0.19.0-3", optional = true } @@ -62,7 +65,7 @@ sqlite = ["rusqlite", "ahash"] compact_filters = ["rocksdb", "socks", "lazy_static", "cc"] key-value-db = ["sled"] all-keys = ["keys-bip39"] -keys-bip39 = ["tiny-bip39"] +keys-bip39 = ["tiny-bip39", "backtrace"] rpc = ["core-rpc"] # We currently provide mulitple implementations of `Blockchain`, all are