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:
parent
922996b032
commit
512d982275
|
@ -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"
|
||||||
|
|
|
@ -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"] }
|
||||||
|
|
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue