Skip to content

Commit

Permalink
move dependencies to root Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tai 'Mr. T' Truong committed Jul 4, 2023
1 parent b06251f commit 6cd3a99
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 101 deletions.
78 changes: 10 additions & 68 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@
members = ["contracts/*", "packages/*"]
resolver = "2"

[workspace.package]
edition = "2021"

[workspace.dependencies]
cosmwasm-std = "1.1"
cosmwasm-schema = "1.1"
cosmwasm-storage = "1.1"
cw-storage-plus = "0.15"
cw2 = "1.0.1"
cw721 = "0.16"
cw721-base = "0.16"
cw-utils = "1.0.1"
thiserror = "1"
serde = "1.0"
cw-paginate = { git = "https://github.com/DA0-DA0/dao-contracts.git", tag = "v2.1.0" }
cw721-proxy-derive = { git = "https://github.com/0xekez/cw721-proxy.git" }
cw-pause-once = { path = "./packages/cw-pause-once" }
cw-cii = { path = "./packages/cw-cii" }
zip-optional = { path = "./packages/zip-optional" }
cw-ics721-bridge = { path = "./contracts/cw-ics721-bridge"}

[profile.release]
codegen-units = 1
opt-level = 3
Expand Down
14 changes: 7 additions & 7 deletions contracts/cw-ics721-bridge-tester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
cosmwasm-std = { version = "1.1", features = ["ibc3"] }
cosmwasm-storage = "1.1"
cosmwasm-schema = "1.1"
cw-storage-plus = "0.15"
cw2 = "0.15"
thiserror = "1"
cw-ics721-bridge = { version = "*", path = "../cw-ics721-bridge", features = ["library"] }
cosmwasm-std = { workspace = true, features = ["ibc3"] }
cosmwasm-schema = { workspace = true }
cosmwasm-storage = { workspace = true }
cw-storage-plus = { workspace = true }
cw2 = { workspace = true }
thiserror = { workspace = true }
cw-ics721-bridge = { workspace = true, features = ["library"] }
26 changes: 13 additions & 13 deletions contracts/cw-ics721-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
cosmwasm-std = { version = "1.1", features = ["ibc3"] }
cosmwasm-schema = "1.1"
cosmwasm-std = { workspace = true, features = ["ibc3"] }
cosmwasm-schema = { workspace = true }
# TODO: upgrade cw-storage-plus to latest version, once approved commit 6db957 will be merged into main and available in next release.
cw-storage-plus = { rev = "6db957ce730a95141a3ab4dc5ab76fb38e8c0c42", git = "https://github.com/CosmWasm/cw-storage-plus" }
cw-utils = "1.0.1"
cw2 = "1.0.1"
cw721 = "0.16"
cw721-base = { version = "0.16", features = ["library"] }
thiserror = "1"
serde = "1.0"
cw-paginate = { git = "https://github.com/DA0-DA0/dao-contracts.git", tag = "v2.1.0" }
cw721-proxy-derive = { git = "https://github.com/0xekez/cw721-proxy.git" }
cw-pause-once = { path = "../../packages/cw-pause-once" }
cw-cii = { path = "../../packages/cw-cii" }
zip-optional = { path = "../../packages/zip-optional" }
cw-utils = { workspace = true }
cw2 = { workspace = true }
cw721 = { workspace = true }
cw721-base = { workspace = true, features = ["library"] }
thiserror = { workspace = true }
serde = { workspace = true }
cw-paginate = { workspace = true }
cw721-proxy-derive = { workspace = true }
cw-pause-once = { workspace = true }
cw-cii = { workspace = true }
zip-optional = { workspace = true }

[dev-dependencies]
anyhow = "1.0"
Expand Down
12 changes: 6 additions & 6 deletions contracts/cw721-tester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
cosmwasm-std = "1.1"
cosmwasm-schema = "1.1"
cw-storage-plus = "0.15.0"
cw2 = "0.15.0"
thiserror = "1"
cw721-base = { version = "0.15", features = [ "library" ] }
cosmwasm-std = { workspace = true }
cosmwasm-schema = { workspace = true }
cw-storage-plus = { workspace = true }
cw2 = { workspace = true }
thiserror = { workspace = true }
cw721-base = { workspace = true, features = [ "library" ] }
4 changes: 2 additions & 2 deletions packages/cw-cii/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ edition = "2021"
authors = ["ekez <[email protected]>"]

[dependencies]
cosmwasm-std = "1.1"
cosmwasm-schema = "1.1"
cosmwasm-std = { workspace = true }
cosmwasm-schema = { workspace = true }
10 changes: 5 additions & 5 deletions packages/cw-pause-once/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ authors = ["ekez <[email protected]>"]
description = "a package to allow an address to pause a single time for a prespecified duration"

[dependencies]
cosmwasm-std = "1.1"
cosmwasm-schema = "1.1"
cw-utils = "0.15"
cw-storage-plus = "0.15"
thiserror = "1"
cosmwasm-std = { workspace = true }
cosmwasm-schema = { workspace = true }
cw-utils = { workspace = true }
cw-storage-plus = { workspace = true }
thiserror = { workspace = true }

0 comments on commit 6cd3a99

Please sign in to comment.