cosmwasm: Override local deps at the workspace level
Put all the local overrides at the workspace level rather than having to specify the path in each individual crate. This will also make it easier for us to publish to crates.io when that time comes.
This commit is contained in:
parent
ce1ca0b155
commit
aad0a2bf47
|
@ -18,3 +18,9 @@ codegen-units = 1
|
||||||
panic = 'abort'
|
panic = 'abort'
|
||||||
incremental = false
|
incremental = false
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
|
|
||||||
|
[patch.crates-io]
|
||||||
|
cw20-wrapped-2 = { path = "contracts/cw20-wrapped" }
|
||||||
|
token-bridge-terra-2 = { path = "contracts/token-bridge" }
|
||||||
|
wormhole-bridge-terra-2 = { path = "contracts/wormhole" }
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ schemars = "0.8.8"
|
||||||
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
|
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
|
||||||
cw20 = "0.13.2"
|
cw20 = "0.13.2"
|
||||||
cw20-base = { version = "0.13.2", features = ["library"] }
|
cw20-base = { version = "0.13.2", features = ["library"] }
|
||||||
cw20-wrapped-2 = { path = "../cw20-wrapped", features = ["library"] }
|
cw20-wrapped-2 = { version = "0.1.0", features = ["library"] }
|
||||||
terraswap = "2.6.1"
|
terraswap = "2.6.1"
|
||||||
thiserror = { version = "1.0.31" }
|
thiserror = { version = "1.0.31" }
|
||||||
k256 = { version = "0.9.4", default-features = false, features = ["ecdsa"] }
|
k256 = { version = "0.9.4", default-features = false, features = ["ecdsa"] }
|
||||||
|
@ -29,8 +29,8 @@ hex = "0.4.2"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
bigint = "4"
|
bigint = "4"
|
||||||
|
|
||||||
wormhole-bridge-terra-2 = { path = "../wormhole", features = ["library"] }
|
wormhole-bridge-terra-2 = { version = "0.1.0", features = ["library"] }
|
||||||
token-bridge-terra-2 = { path = "../token-bridge", features = ["library"] }
|
token-bridge-terra-2 = { version = "0.1.0", features = ["library"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
cosmwasm-vm = { version = "1.0.0", default-features = false }
|
cosmwasm-vm = { version = "1.0.0", default-features = false }
|
||||||
|
|
|
@ -9,4 +9,4 @@ description = "Shutdown Wormhole token bridge on cosmwasm"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
token-bridge-terra-2 = { path = "../token-bridge", default-features = false }
|
token-bridge-terra-2 = { version = "0.1.0", default-features = false }
|
||||||
|
|
|
@ -9,4 +9,4 @@ description = "Shutdown Wormhole core bridge on cosmwasm"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wormhole-bridge-terra-2 = { path = "../wormhole", default-features = false }
|
wormhole-bridge-terra-2 = { version = "0.1.0", default-features = false }
|
||||||
|
|
|
@ -24,9 +24,9 @@ schemars = "0.8.8"
|
||||||
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
|
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
|
||||||
cw20 = "0.13.2"
|
cw20 = "0.13.2"
|
||||||
cw20-base = { version = "0.13.2", features = ["library"] }
|
cw20-base = { version = "0.13.2", features = ["library"] }
|
||||||
cw20-wrapped-2 = { path = "../cw20-wrapped", features = ["library"] }
|
cw20-wrapped-2 = { version = "0.1.0", features = ["library"] }
|
||||||
terraswap = "2.6.1"
|
terraswap = "2.6.1"
|
||||||
wormhole-bridge-terra-2 = { path = "../wormhole", default-features = false, features = ["library"] }
|
wormhole-bridge-terra-2 = { version = "0.1.0", default-features = false, features = ["library"] }
|
||||||
thiserror = { version = "1.0.31" }
|
thiserror = { version = "1.0.31" }
|
||||||
k256 = { version = "0.9.4", default-features = false, features = ["ecdsa"] }
|
k256 = { version = "0.9.4", default-features = false, features = ["ecdsa"] }
|
||||||
sha3 = { version = "0.9.1", default-features = false }
|
sha3 = { version = "0.9.1", default-features = false }
|
||||||
|
|
|
@ -25,7 +25,7 @@ schemars = "0.8.8"
|
||||||
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
|
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
|
||||||
cw20 = "0.13.2"
|
cw20 = "0.13.2"
|
||||||
cw20-base = { version = "0.13.2", features = ["library"] }
|
cw20-base = { version = "0.13.2", features = ["library"] }
|
||||||
cw20-wrapped-2 = { path = "../cw20-wrapped", features = ["library"] }
|
cw20-wrapped-2 = { version = "0.1.0", features = ["library"] }
|
||||||
thiserror = { version = "1.0.31" }
|
thiserror = { version = "1.0.31" }
|
||||||
k256 = { version = "0.9.4", default-features = false, features = ["ecdsa"] }
|
k256 = { version = "0.9.4", default-features = false, features = ["ecdsa"] }
|
||||||
getrandom = { version = "0.2", features = ["custom"] }
|
getrandom = { version = "0.2", features = ["custom"] }
|
||||||
|
|
Loading…
Reference in New Issue