Skip to content

Commit ced1f4f

Browse files
committed
Use relative path dependencies for corepc crates
Using a versioned dependency for causes an issue with adding a new feature to the types crate. Use a relative path dependency instead. Remove the patch section in integration_test/Cargo.toml since it's no longer needed.
1 parent f8fa8d6 commit ced1f4f

3 files changed

Lines changed: 4 additions & 13 deletions

File tree

client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ bitcoin = { version = "0.32.0", default-features = false, features = ["std", "se
2525
log = "0.4"
2626
serde = { version = "1.0.103", default-features = false, features = [ "derive", "alloc" ] }
2727
serde_json = { version = "1.0.117" }
28-
types = { package = "corepc-types", version = "0.9.0", default-features = false, features = ["std"] }
28+
types = { package = "corepc-types", path = "../types", default-features = false, features = ["std"] }
2929

30-
jsonrpc = { version = "0.18.0", features = ["minreq_http"], optional = true }
30+
jsonrpc = { path = "../jsonrpc", features = ["minreq_http"], optional = true }
3131

3232
[dev-dependencies]

integration_test/Cargo.toml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,7 @@ TODO = [] # This is a dirty hack while writing the tests.
5757
[dependencies]
5858
bitcoin = { version = "0.32.0", default-features = false, features = ["std", "serde"] }
5959
env_logger = "0.9.0"
60-
node = { package = "corepc-node", version = "0.9.0", default-features = false }
60+
node = { package = "corepc-node", path = "../node", default-features = false }
6161
rand = "0.8.5"
6262

6363
[dev-dependencies]
64-
65-
[patch.crates-io.corepc-client]
66-
path = "../client"
67-
68-
[patch.crates-io.corepc-types]
69-
path = "../types"
70-
71-
[patch.crates-io.corepc-node]
72-
path = "../node"

node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exclude = ["tests", "contrib"]
1414

1515
[dependencies]
1616
anyhow = { version = "1.0.66", default-features = false, features = ["std"] }
17-
corepc-client = { version = "0.9.0", features = ["client-sync"] }
17+
corepc-client = { path = "../client", features = ["client-sync"] }
1818
log = { version = "0.4", default-features = false }
1919
serde_json = { version = "1.0.117", default-features = false }
2020
tempfile = { version = "3", default-features = false }

0 commit comments

Comments
 (0)