112 lines
3.6 KiB
TOML
112 lines
3.6 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"coconut-dkg",
|
|
"ecash",
|
|
"mixnet",
|
|
"multisig/cw3-flex-multisig",
|
|
"multisig/cw4-group",
|
|
"node-families",
|
|
"nym-pool",
|
|
"performance",
|
|
"network-monitors",
|
|
"vesting",
|
|
]
|
|
|
|
[workspace.package]
|
|
authors = ["Nym Technologies SA"]
|
|
repository = "https://github.com/nymtech/nym"
|
|
homepage = "https://nymtech.net"
|
|
documentation = "https://nymtech.net"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
rust-version = "1.86.0"
|
|
readme = "../README.md"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
rpath = false
|
|
lto = true
|
|
debug-assertions = false
|
|
codegen-units = 1
|
|
panic = 'abort'
|
|
incremental = false
|
|
overflow-checks = true
|
|
|
|
[workspace.dependencies]
|
|
anyhow = "1.0.86"
|
|
bs58 = "0.5.1"
|
|
cosmwasm-crypto = "=2.2.2"
|
|
cosmwasm-derive = "=2.2.2"
|
|
cosmwasm-schema = "=2.2.2"
|
|
cosmwasm-std = "=2.2.2"
|
|
cw-controllers = "=2.0.0"
|
|
cw-multi-test = "=2.3.2"
|
|
cw-storage-plus = "=2.0.0"
|
|
cw-utils = "=2.0.0"
|
|
cw2 = "=2.0.0"
|
|
cw3 = "=2.0.0"
|
|
cw3-fixed-multisig = "=2.0.0"
|
|
cw4 = "=2.0.0"
|
|
cw20 = "=2.0.0"
|
|
cw20-base = "2.0.0"
|
|
rand = "0.8.6"
|
|
rand_chacha = "0.3.1"
|
|
semver = "1.0.21"
|
|
serde = "1.0.196"
|
|
sylvia = "1.3.3"
|
|
schemars = "0.8.16"
|
|
|
|
thiserror = "2.0.11"
|
|
|
|
easy-addr = { version = "1.21.0", path = "../common/cosmwasm-smart-contracts/easy_addr" }
|
|
# For local development with modifications, add a [patch.crates-io] section (see bottom of file)
|
|
nym-coconut-dkg-common = "1.21.0"
|
|
nym-contracts-common = "1.21.0"
|
|
nym-contracts-common-testing = "1.21.0"
|
|
nym-crypto = { version = "1.21.0", default-features = false }
|
|
nym-ecash-contract-common = "1.21.0"
|
|
nym-group-contract-common = "1.21.0"
|
|
nym-mixnet-contract-common = "1.21.0"
|
|
nym-multisig-contract-common = "1.21.0"
|
|
nym-network-monitors-contract-common = "1.21.0"
|
|
nym-network-defaults = { version = "1.21.0", default-features = false }
|
|
nym-performance-contract-common = "1.21.0"
|
|
nym-pool-contract-common = "1.21.0"
|
|
nym-vesting-contract-common = "1.21.0"
|
|
|
|
# Aliases for crates that some contracts import under different names
|
|
contracts-common = { version = "1.21.0", package = "nym-contracts-common" }
|
|
mixnet-contract-common = { version = "1.21.0", package = "nym-mixnet-contract-common" }
|
|
vesting-contract-common = { version = "1.21.0", package = "nym-vesting-contract-common" }
|
|
nym-node-families-contract-common = { version = "1.21.0", package = "nym-node-families-contract-common" }
|
|
|
|
# Internal contract workspace members (for cross-contract testing)
|
|
cw3-flex-multisig = { version = "2.0.0", path = "multisig/cw3-flex-multisig" }
|
|
cw4-group = { version = "2.0.0", path = "multisig/cw4-group" }
|
|
nym-mixnet-contract = { version = "1.5.1", path = "mixnet" }
|
|
nym-vesting-contract = { version = "1.4.1", path = "vesting" }
|
|
node-families = { version = "0.1.1", path = "node-families" }
|
|
|
|
[workspace.lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
todo = "deny"
|
|
dbg_macro = "deny"
|
|
exit = "deny"
|
|
panic = "deny"
|
|
unimplemented = "deny"
|
|
unreachable = "deny"
|
|
|
|
# For local development, import via path instead of crates.io, e.g.
|
|
[patch.crates-io]
|
|
nym-network-monitors-contract-common = { path = "../common/cosmwasm-smart-contracts/network-monitors-contract" }
|
|
nym-network-defaults = { path = "../common/network-defaults" }
|
|
nym-crypto = { path = "../common/crypto" }
|
|
nym-contracts-common-testing = { path = "../common/cosmwasm-smart-contracts/contracts-common-testing" }
|
|
nym-contracts-common = { path = "../common/cosmwasm-smart-contracts/contracts-common" }
|
|
nym-ecash-contract-common = { path = "../common/cosmwasm-smart-contracts/ecash-contract" }
|
|
nym-mixnet-contract-common = { path = "../common/cosmwasm-smart-contracts/mixnet-contract" }
|
|
nym-node-families-contract-common = { path = "../common/cosmwasm-smart-contracts/node-families-contract" }
|