Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sort workspace dependencies #603

Merged
merged 3 commits into from
Sep 4, 2024
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
2 changes: 1 addition & 1 deletion Cargo.lock

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

71 changes: 39 additions & 32 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,68 +1,75 @@
[workspace]
members = ["ampd", "contracts/*", "external-gateways/*", "integration-tests", "interchain-token-service", "packages/*"]
members = [
"ampd",
"contracts/*",
"external-gateways/*",
"integration-tests",
"interchain-token-service",
"packages/*"
]
resolver = "2"

[workspace.package]
rust-version = "1.78.0" # be sure there is an optimizer release supporting this version before updating. See https://github.com/CosmWasm/optimizer
edition = "2021"

[workspace.dependencies]
router = { version = "^1.0.0", path = "contracts/router" }
cosmwasm-std = "1.5.5"
alloy-primitives = { version = "0.7.6", default-features = false, features = ["std"] }
alloy-sol-types = { version = "0.7.6", default-features = false, features = ["std"] }
axelar-wasm-std = { version = "^1.0.0", path = "packages/axelar-wasm-std" }
axelar-wasm-std-derive = { version = "^1.0.0", path = "packages/axelar-wasm-std-derive" }
axelarnet-gateway = { version = "^1.0.0", path = "contracts/axelarnet-gateway" }
bcs = "0.1.5"
client = { version = "^1.0.0", path = "packages/client" }
coordinator = { version = "^1.0.0", path = "contracts/coordinator" }
cosmwasm-schema = "1.5.5"
cosmwasm-std = "1.5.5"
cw-multi-test = "1.2.0"
cw-storage-plus = { version = "1.2.0", features = ["iterator", "macro"] }
cw2 = "1.1.0"
ed25519-dalek = { version = "2.1.1", default-features = false }
error-stack = { version = "0.4.0", features = ["eyre"] }
ethers-contract = { version = "2.0.14", default-features = false, features = ["abigen"] }
ethers-core = "2.0.14"
events = { version = "^1.0.0", path = "packages/events" }
events-derive = { version = "^1.0.0", path = "packages/events-derive" }
evm-gateway = { version = "^1.0.0", path = "packages/evm-gateway" }
sui-types = { version = "^1.0.0", path = "packages/sui-types" }
sui-gateway = { version = "^1.0.0", path = "packages/sui-gateway" }
stellar = { version = "^1.0.0", path = "external-gateways/stellar" }
axelar-wasm-std = { version = "^1.0.0", path = "packages/axelar-wasm-std" }
axelar-wasm-std-derive = { version = "^1.0.0", path = "packages/axelar-wasm-std-derive" }
gateway = { version = "^1.0.0", path = "contracts/gateway" }
gateway-api = { version = "^1.0.0", path = "packages/gateway-api" }
goldie = { version = "0.5" }
hex = "0.4.3"
integration-tests = { version = "^1.0.0", path = "integration-tests" }
interchain-token-service = { version = "^0.1.0", path = "interchain-token-service" }
into-inner-derive = { version = "^1.0.0", path = "packages/into-inner-derive" }
itertools = "0.11.0"
voting-verifier = { version = "^1.0.0", path = "contracts/voting-verifier" }
coordinator = { version = "^1.0.0", path = "contracts/coordinator" }
multisig = { version = "^1.0.0", path = "contracts/multisig" }
k256 = { version = "0.13.1", features = ["ecdsa"] }
mockall = "0.12.1"
msgs-derive = { version = "^1.0.0", path = "packages/msgs-derive" }
multisig = { version = "^1.0.0", path = "contracts/multisig" }
multisig-prover = { version = "^1.0.0", path = "contracts/multisig-prover" }
num-traits = { version = "0.2.14", default-features = false }
service-registry = { version = "^1.0.0", path = "contracts/service-registry" }
k256 = { version = "0.13.1", features = ["ecdsa"] }
gateway = { version = "^1.0.0", path = "contracts/gateway" }
gateway-api = { version = "^1.0.0", path = "packages/gateway-api" }
router-api = { version = "^1.0.0", path = "packages/router-api" }
report = { version = "^1.0.0", path = "packages/report" }
client = { version = "^1.0.0", path = "packages/client" }
quote = "1.0.36"
bcs = "0.1.5"
report = { version = "^1.0.0", path = "packages/report" }
rewards = { version = "^1.0.0", path = "contracts/rewards" }
thiserror = "1.0.61"
mockall = "0.12.1"
router = { version = "^1.0.0", path = "contracts/router" }
router-api = { version = "^1.0.0", path = "packages/router-api" }
schemars = "0.8.10"
serde = { version = "1.0.145", default-features = false, features = ["derive"] }
serde_json = "1.0.89"
schemars = "0.8.10"
service-registry = { version = "^1.0.0", path = "contracts/service-registry" }
sha3 = { version = "0.10.8", default-features = false, features = [] }
signature-verifier-api = { version = "^1.0.0", path = "packages/signature-verifier-api" }
stellar = { version = "^1.0.0", path = "external-gateways/stellar" }
strum = { version = "0.25", default-features = false, features = ["derive"] }
sui-gateway = { version = "^1.0.0", path = "packages/sui-gateway" }
sui-types = { version = "^1.0.0", path = "packages/sui-types" }
syn = "2.0.68"
ethers-contract = { version = "2.0.14", default-features = false, features = ["abigen"] }
ethers-core = "2.0.14"
thiserror = "1.0.61"
tofn = { version = "1.1" }
tokio = "1.38.0"
tokio-stream = "0.1.11"
tokio-util = "0.7.11"
tofn = { version = "1.1" }
alloy-primitives = { version = "0.7.6", default-features = false, features = ["std"] }
alloy-sol-types = { version = "0.7.6", default-features = false, features = ["std"] }
strum = { version = "0.25", default-features = false, features = ["derive"] }
interchain-token-service = { version = "^0.1.0", path = "interchain-token-service" }
goldie = { version = "0.5" }
axelarnet-gateway = { version = "^0.1.0", path = "contracts/axelarnet-gateway" }
cw-multi-test = "1.2.0"
voting-verifier = { version = "^1.0.0", path = "contracts/voting-verifier" }

[workspace.lints.clippy]
arithmetic_side_effects = "deny"
Expand Down
5 changes: 2 additions & 3 deletions contracts/axelarnet-gateway/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "axelarnet-gateway"
version = "0.1.0"
version = "1.0.0"
rust-version = { workspace = true }
edition = { workspace = true }
description = "The Axelarnet Gateway contract allows apps on the Axelar Network to send/receive cross-chain messages to/from other chains."

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]

[lib]
Expand Down
3 changes: 1 addition & 2 deletions contracts/coordinator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Amplifier info aggregation for external use, alongside contract management, instantiation and migration"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions contracts/gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Gateway contract"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions contracts/multisig-prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Multisig prover contract"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions contracts/multisig/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Multisig contract"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions contracts/rewards/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Validator rewards contract"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions contracts/router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Router contract"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions contracts/service-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Contract handling the service registrations"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions contracts/voting-verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Voting verifier contract"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion external-gateways/stellar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ router-api = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha3 = { workspace = true }
stellar-strkey = { version = "0.0.8" }
stellar-strkey = { version = "0.0.8" }
stellar-xdr = { version = "21.2.0" }
thiserror = { workspace = true }

Expand Down
3 changes: 1 addition & 2 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Amplifier Integration Tests"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 1 addition & 2 deletions packages/axelar-wasm-std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = { workspace = true }
description = "Axelar cosmwasm standard library crate"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
"hash.txt"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
Loading