diff --git a/Cargo.toml b/Cargo.toml index a29f479..bf31a11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ path = "src/lib.rs" [dependencies] serde = { version = "1.0", features = ["derive"] } -bitcoin = { version = "0.31.0", features = ["serde", "std"], default-features = false } +bitcoin = { version = "0.32", features = ["serde", "std"], default-features = false } hex = { package = "hex-conservative", version = "0.2" } log = "^0.4" minreq = { version = "2.11.0", features = ["json-using-serde"], optional = true } @@ -27,7 +27,7 @@ reqwest = { version = "0.11", optional = true, default-features = false, feature [dev-dependencies] serde_json = "1.0" tokio = { version = "1.20.1", features = ["full"] } -electrsd = { version = "0.27.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] } +electrsd = { version = "0.28.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] } lazy_static = "1.4.0" [features] @@ -42,3 +42,11 @@ async-https = ["async", "reqwest/default-tls"] async-https-native = ["async", "reqwest/native-tls"] async-https-rustls = ["async", "reqwest/rustls-tls"] async-https-rustls-manual-roots = ["async", "reqwest/rustls-tls-manual-roots"] + +[patch.crates-io.electrsd] +git = "https://github.com/oleonardolima/electrsd" +branch = "deps/upgrade-bitcoind-to-0.36.0" + +[patch.crates-io.electrum-client] +git = "https://github.com/oleonardolima/rust-electrum-client" +branch = "deps/upgrade-rust-bitcoin-to-0.32"