terrain
terrain copied to clipboard
[FEATURE] Support workspace version in cargo
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 }