diff --git a/Cargo.toml b/Cargo.toml index bf6590a1e..64c02bd65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 diff --git a/packages/check/Cargo.toml b/packages/check/Cargo.toml index 1eac68fd4..a1064e216 100644 --- a/packages/check/Cargo.toml +++ b/packages/check/Cargo.toml @@ -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" diff --git a/packages/crypto/Cargo.toml b/packages/crypto/Cargo.toml index 04737c112..819ed14df 100644 --- a/packages/crypto/Cargo.toml +++ b/packages/crypto/Cargo.toml @@ -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"] } diff --git a/packages/cw-schema/Cargo.toml b/packages/cw-schema/Cargo.toml index d71d84a07..7ba277ee9 100644 --- a/packages/cw-schema/Cargo.toml +++ b/packages/cw-schema/Cargo.toml @@ -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"] } diff --git a/packages/go-gen/Cargo.toml b/packages/go-gen/Cargo.toml index 8e77f64e1..a35e6a16f 100644 --- a/packages/go-gen/Cargo.toml +++ b/packages/go-gen/Cargo.toml @@ -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 } diff --git a/packages/schema/Cargo.toml b/packages/schema/Cargo.toml index bb43262f9..cfd4ebe15 100644 --- a/packages/schema/Cargo.toml +++ b/packages/schema/Cargo.toml @@ -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" diff --git a/packages/std/Cargo.toml b/packages/std/Cargo.toml index 23d9b6225..645ba4b78 100644 --- a/packages/std/Cargo.toml +++ b/packages/std/Cargo.toml @@ -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 } @@ -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" diff --git a/packages/vm/Cargo.toml b/packages/vm/Cargo.toml index 6b56075bd..d304c21c3 100644 --- a/packages/vm/Cargo.toml +++ b/packages/vm/Cargo.toml @@ -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"] }