From 7db0ad828f8d9396fa50ccac58189545e78210b4 Mon Sep 17 00:00:00 2001 From: "Jamil Lambert, PhD" Date: Mon, 13 Oct 2025 13:56:49 +0100 Subject: [PATCH] Add version and patch to dependencies Having a version, path and patch for dependencies ensures that the local version is used during development including indirect dependencies, and publishing is still possible. --- integration_test/Cargo.toml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/integration_test/Cargo.toml b/integration_test/Cargo.toml index bffb8adb..d4228aad 100644 --- a/integration_test/Cargo.toml +++ b/integration_test/Cargo.toml @@ -57,9 +57,22 @@ TODO = [] # This is a dirty hack while writing the tests. [dependencies] bitcoin = { version = "0.32.0", default-features = false, features = ["std", "serde"] } env_logger = "0.9.0" -node = { package = "corepc-node", path = "../node", default-features = false } +node = { package = "corepc-node", version = "0.10.0", path = "../node", default-features = false } rand = "0.8.5" # Just so we can enable the feature. -types = { package = "corepc-types", path = "../types", features = ["serde-deny-unknown-fields"] } +types = { package = "corepc-types", version = "0.10.0", path = "../types", features = ["serde-deny-unknown-fields"] } [dev-dependencies] + + +[patch.crates-io.corepc-client] +path = "../client" + +[patch.crates-io.jsonrpc] +path = "../jsonrpc" + +[patch.crates-io.corepc-node] +path = "../node" + +[patch.crates-io.corepc-types] +path = "../types"