cf3fd00350
* - standardise versions for all nym-sdk workspace dependencies - prepend sqlx-pool-guard with 'nym-' * Test remove nym-api from deps * Add oneliner to client_pool doc comments * Add note to commented out docs.rs link in sdk * remove nym-api from script * add publishing file * bring non-binary / contract / tools into workspace version * added more info to publishing.md * make deps workspace version * remove uploaded sphinx-types crate from script * remove erroueously included ignore-defaults * add zeroise to feature * chore: Release * add topology to batch * more cargo versioning * more cargo versioning - wasm utils * more cargo versioning - wasm utils * Add publish=false to manifest for cargo workspaces / crates.io publishing exclusion * remove script now switched to manifest based exclusion * rename import based on rename of contracts-common dep * Making workspace versions for publication + removing unnecessary crates from publication * Remove OOD info from publishing sdk guide * rename contract imports + remove package * temp commit: continuing with removal of path from cargo manifest and replacing with workspace version import for publication * continuing with cargo.toml updates * dryrun only erroring on known version problem crates * remove old published-crates file * Minor comment change * remove default features warning * Additional info on workspace dep comment re publish list * Add missing description to cargo.toml * Fix missing feature flags * Add missing descriptions * Fix remaining path import * Add workspace repo / homepage / documentation links to cargo.toml files * remove workspace version from excluded crate * Remove todo descriptions * Minor comment change * add homepage etc * move from bls git import to nym_bls_fork crate * Modify rest of imports from path to workspace import, excluding binaries * add directory/homepage info * fix cargo fmt * add notes to gitignore * better solution to contracts/ experiment * wasm -> nym_wasm crate renaming * fix fatfinger * add metadata to ecash cargo.toml * stub publishing guide * fix misrevolved netlink- version * Fixes and block publication of rebase re: LP * first pass @ workflows
104 lines
3.9 KiB
TOML
104 lines
3.9 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"coconut-dkg",
|
|
"ecash",
|
|
"mixnet",
|
|
"mixnet-vesting-integration-tests",
|
|
"nym-pool",
|
|
"multisig/cw3-flex-multisig",
|
|
"multisig/cw4-group",
|
|
"vesting",
|
|
"performance",
|
|
]
|
|
|
|
[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"
|
|
|
|
[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.5"
|
|
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"
|
|
|
|
# Common crates from parent workspace (paths relative to contracts/)
|
|
#
|
|
# TODO: Once these crates are published to crates.io, switch from path dependencies
|
|
# to crates.io versions.
|
|
#
|
|
# TODO add a [patch.crates-io] section at the bottom for local development if you need to use a modded version of common import instead e.g.:
|
|
#
|
|
# [patch.crates-io]
|
|
# nym-contracts-common = { path = "../common/cosmwasm-smart-contracts/contracts-common" }
|
|
#
|
|
easy-addr = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/easy_addr" }
|
|
nym-coconut-dkg-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/coconut-dkg" }
|
|
nym-contracts-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/contracts-common" }
|
|
nym-contracts-common-testing = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/contracts-common-testing" }
|
|
nym-crypto = { version = "1.20.1", path = "../common/crypto", default-features = false }
|
|
nym-ecash-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/ecash-contract" }
|
|
nym-group-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/group-contract" }
|
|
nym-mixnet-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/mixnet-contract" }
|
|
nym-multisig-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/multisig-contract" }
|
|
nym-network-defaults = { version = "1.20.1", path = "../common/network-defaults", default-features = false }
|
|
nym-performance-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/nym-performance-contract" }
|
|
nym-pool-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/nym-pool-contract" }
|
|
nym-vesting-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/vesting-contract" }
|
|
|
|
# Aliases for crates that some contracts import under different names
|
|
contracts-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/contracts-common", package = "nym-contracts-common" }
|
|
mixnet-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/mixnet-contract", package = "nym-mixnet-contract-common" }
|
|
vesting-contract-common = { version = "1.20.1", path = "../common/cosmwasm-smart-contracts/vesting-contract", package = "nym-vesting-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" }
|
|
|
|
[workspace.lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
todo = "deny"
|
|
dbg_macro = "deny"
|
|
exit = "deny"
|
|
panic = "deny"
|
|
unimplemented = "deny"
|
|
unreachable = "deny"
|