From 293c28570ca28e1375d424245a907c8d0b7e2f85 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 8 Dec 2022 12:06:19 +0100 Subject: [PATCH] Cargo: fix the rust-miniscript patched dependency for downstream This new syntax would actually force all downstream users to apply the patch section in their Cargo.toml! Revert to the previous syntax of specifying the git repo directly. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 565c4f24..ddd3b20a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ jsonrpc_server = [] [dependencies] # For managing transactions (it re-exports the bitcoin crate) -miniscript = { version = "9.0", features = ["serde"] } +miniscript = { git = "https://github.com/darosior/rust-miniscript", branch = "multipath_descriptors_on_9.0", features = ["serde"] } # Don't reinvent the wheel dirs = "3.0" @@ -58,4 +58,4 @@ libc = "0.2" base64 = "0.13" [patch.crates-io] -miniscript = { git = "https://github.com/darosior/rust-miniscript", branch = "multipath_descriptors_on_9.0" } +