Remove path field from internals dependency

We use two different methods for specifying local dependencies, `patch`
and also `path`. There does not seem to be a reason why we use both,
lets be uniform. Elect to use `patch` for all local crates.
This commit is contained in:
Tobin C. Harding 2023-06-28 08:57:25 +10:00
parent 922996b032
commit 512d982275
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
3 changed files with 5 additions and 2 deletions

View File

@ -6,3 +6,6 @@ path = "bitcoin"
[patch.crates-io.bitcoin_hashes] [patch.crates-io.bitcoin_hashes]
path = "hashes" path = "hashes"
[patch.crates-io.bitcoin-internals]
path = "internals"

View File

@ -34,7 +34,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
internals = { package = "bitcoin-internals", version = "0.2.0", path = "../internals" } internals = { package = "bitcoin-internals", version = "0.2.0" }
bech32 = { version = "0.9.0", default-features = false } bech32 = { version = "0.9.0", default-features = false }
hashes = { package = "bitcoin_hashes", version = "0.12.0", default-features = false } hashes = { package = "bitcoin_hashes", version = "0.12.0", default-features = false }
secp256k1 = { version = "0.27.0", default-features = false, features = ["bitcoin_hashes"] } secp256k1 = { version = "0.27.0", default-features = false, features = ["bitcoin_hashes"] }

View File

@ -23,7 +23,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
internals = { path = "../internals", package = "bitcoin-internals", version = "0.2.0" } internals = { package = "bitcoin-internals", version = "0.2.0" }
core2 = { version = "0.3.0", default_features = false, optional = true } core2 = { version = "0.3.0", default_features = false, optional = true }
schemars = { version = "0.8.3", optional = true } schemars = { version = "0.8.3", optional = true }