terrain icon indicating copy to clipboard operation
terrain copied to clipboard

[FEATURE] Support workspace version in cargo

Open llllllluc opened this issue 1 year ago • 0 comments

Describe the feature

Ideally we can define dependency version only in the root cargo.toml

[workspace.dependencies]
anyhow             = "1.0.75"
astroport          = "2.8.0"
bech32             = "0.9.1"
cosmwasm-schema    = "1.4.0"
cosmwasm-std       = "1.4.0"

Then in each contract's cargo.toml, we can just use the workspace's version by default like this

[dependencies]
cosmwasm-schema = { workspace = true }
cosmwasm-std    = { workspace = true }

Describe the solution you'd like

Describe alternatives you've considered

Additional context

llllllluc avatar Oct 18 '23 06:10 llllllluc