Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,20 @@ resolver = "2"
version = "3.0.2-dev"

[workspace.dependencies]
cosmwasm-core = { path = "./packages/core" }
cosmwasm-crypto = { path = "./packages/crypto" }
cosmwasm-derive = { path = "./packages/derive" }
cosmwasm-schema = { path = "./packages/schema" }
cosmwasm-schema-derive = { path = "./packages/schema-derive" }
cosmwasm-std = { path = "./packages/std", default-features = false }
cosmwasm-vm = { path = "./packages/vm" }
cosmwasm-vm-derive = { path = "./packages/vm-derive" }
cw-schema = { path = "./packages/cw-schema" }
cw-schema-derive = { path = "./packages/cw-schema-derive" }
schemars = "0.8.4"
serde = { version = "1.0.192", default-features = false, features = ["alloc", "derive"] }
serde_json = "1.0.140"
thiserror = "1.0.26"

[workspace.metadata.release]
shared-version = true
Expand Down
4 changes: 2 additions & 2 deletions packages/check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ license = "Apache-2.0"
anyhow = "1.0.57"
clap = "4"
colored = "2.1.0"
cosmwasm-vm = { path = "../vm" }
cosmwasm-std = { path = "../std" }
cosmwasm-vm = { workspace = true }
cosmwasm-std = { workspace = true, default-features = true }

[dev-dependencies]
assert_cmd = "2.0.12"
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ark-bls12-381 = "0.5.0"
ark-ec = { version = "0.5.0", features = ["parallel"] }
ark-ff = { version = "0.5.0", features = ["asm", "parallel"] }
ark-serialize = "0.5.0"
cosmwasm-core = { path = "../core" }
cosmwasm-core = { workspace = true }
digest = "0.10"
ed25519-zebra = { version = "=4.0.3", default-features = false }
k256 = { version = "0.13.3", default-features = false, features = ["ecdsa"] }
Expand Down
2 changes: 1 addition & 1 deletion packages/cw-schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/CosmWasm/cosmwasm/tree/main/packages/cw-schema"
license = "Apache-2.0"

[dependencies]
cw-schema-derive = { path = "../cw-schema-derive" }
cw-schema-derive = { workspace = true }
indexmap = { version = "2.3.0", default-features = false }
schemars = { version = "1.0.4", optional = true }
serde = { version = "1.0.204", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions packages/go-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ publish = false
release = false

[dependencies]
cosmwasm-std = { path = "../std", features = ["cosmwasm_3_0", "staking", "stargate"] }
cosmwasm-schema = { path = "../schema" }
cosmwasm-std = { workspace = true, default-features = true, features = ["cosmwasm_3_0", "staking", "stargate"] }
cosmwasm-schema = { workspace = true }
anyhow = "1"
indenter = "0.3.3"
schemars = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions packages/schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ repository = "https://github.com/CosmWasm/cosmwasm/tree/main/packages/schema"
license = "Apache-2.0"

[dependencies]
cosmwasm-schema-derive = { path = "../schema-derive" }
cw-schema = { path = "../cw-schema" }
cosmwasm-schema-derive = { workspace = true }
cw-schema = { workspace = true }
schemars = { workspace = true }
serde = { workspace = true }
serde_json = "1.0.140"
thiserror = "1.0.26"
serde_json = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
anyhow = "1.0.57"
Expand Down
12 changes: 6 additions & 6 deletions packages/std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ cosmwasm_3_0 = ["cosmwasm_2_2"]
[dependencies]
base64 = "0.22.0"
bnum = "0.11.0"
cosmwasm-core = { path = "../core" }
cosmwasm-derive = { path = "../derive" }
cw-schema = { path = "../cw-schema" }
cosmwasm-core = { workspace = true }
cosmwasm-derive = { workspace = true }
cw-schema = { workspace = true }
derive_more = { version = "2.0.1", default-features = false, features = ["debug"] }
hex = "0.4"
schemars = { workspace = true }
Expand All @@ -77,12 +77,12 @@ rmp-serde = "1.3.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bech32 = "0.11.0"
cosmwasm-crypto = { path = "../crypto" }
cosmwasm-crypto = { workspace = true }
rand_core = { version = "0.6.4", features = ["getrandom"] }

[dev-dependencies]
cosmwasm-core = { path = "../core" }
cosmwasm-schema = { path = "../schema" }
cosmwasm-core = { workspace = true }
cosmwasm-schema = { workspace = true }
# The chrono dependency is only used in an example, which Rust compiles for us. If this causes trouble, remove it.
chrono = { version = "0.4", default-features = false, features = ["alloc", "std"] }
crc32fast = "1.3.2"
Expand Down
8 changes: 4 additions & 4 deletions packages/vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ crc32fast = "1.3.2"
bech32 = "0.11.0"
blake2 = "0.10.6"
# Uses the path when built locally; uses the given version from crates.io when published
cosmwasm-core = { path = "../core" }
cosmwasm-std = { path = "../std", default-features = false, features = ["std"] }
cosmwasm-crypto = { path = "../crypto" }
cosmwasm-vm-derive = { path = "../vm-derive" }
cosmwasm-core = { workspace = true }
cosmwasm-std = { workspace = true, features = ["std"] }
cosmwasm-crypto = { workspace = true }
cosmwasm-vm-derive = { workspace = true }
derive_more = { version = "=1.0.0-beta.6", default-features = false, features = ["debug"] }
hex = "0.4"
rand_core = { version = "0.6", features = ["getrandom"] }
Expand Down