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
102 lines
3.7 KiB
TOML
102 lines
3.7 KiB
TOML
[package]
|
|
name = "nym-validator-client"
|
|
version.workspace = true
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
rust-version = "1.85"
|
|
license.workspace = true
|
|
description = "Client for interacting with Nyx Cosmos SDK blockchain"
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
base64 = { workspace = true }
|
|
colored = { workspace = true }
|
|
|
|
nym-coconut-dkg-common = { workspace = true }
|
|
nym-contracts-common = { workspace = true }
|
|
nym-mixnet-contract-common = { workspace = true }
|
|
nym-vesting-contract-common = { workspace = true }
|
|
nym-ecash-contract-common = { workspace = true }
|
|
nym-multisig-contract-common = { workspace = true }
|
|
nym-group-contract-common = { workspace = true }
|
|
nym-performance-contract-common = { workspace = true }
|
|
nym-serde-helpers = { workspace = true, features = ["hex", "base64"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
nym-http-api-client = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true, features = ["serde"] }
|
|
tokio = { workspace = true, features = ["sync", "time"] }
|
|
time = { workspace = true, features = ["formatting"] }
|
|
futures = { workspace = true }
|
|
|
|
nym-compact-ecash = { workspace = true }
|
|
nym-network-defaults = { workspace = true }
|
|
nym-api-requests = { workspace = true }
|
|
|
|
async-trait = { workspace = true }
|
|
bip39 = { workspace = true, features = ["rand"] }
|
|
nym-config = { workspace = true }
|
|
cosmrs = { workspace = true, features = ["bip32", "cosmwasm"] }
|
|
# note that this has the same version as used by cosmrs
|
|
|
|
# import it just for the `Client` trait
|
|
tendermint-rpc = { workspace = true }
|
|
|
|
# this is an extremely nasty import. we're explicitly bringing in bip32 so that via the magic (or curse, pick your poison)
|
|
# of cargo's feature unification we'd get `bip32/std` meaning we'd get `std::error::Error` for the re-exported (via cosmrs) bip32::Error type
|
|
bip32 = { workspace = true, default-features = false, features = ["std"] }
|
|
|
|
eyre = { workspace = true }
|
|
cw-utils = { workspace = true }
|
|
cw2 = { workspace = true }
|
|
cw3 = { workspace = true }
|
|
cw4 = { workspace = true }
|
|
cw-controllers = { workspace = true }
|
|
prost = { workspace = true, default-features = false }
|
|
flate2 = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
itertools = { workspace = true }
|
|
zeroize = { workspace = true, features = ["zeroize_derive"] }
|
|
cosmwasm-std = { workspace = true }
|
|
|
|
# required for polling for broadcast result
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasmtimer]
|
|
workspace = true
|
|
features = ["tokio"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.reqwest]
|
|
workspace = true
|
|
features = ["json"]
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.reqwest]
|
|
workspace = true
|
|
features = ["json", "rustls-tls"]
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
bip39 = { workspace = true }
|
|
cosmrs = { workspace = true, features = ["bip32"] }
|
|
ts-rs = { workspace = true }
|
|
|
|
[[example]]
|
|
name = "offline_signing"
|
|
# it should only really require the "signing" feature,
|
|
# but that would require another round of refactoring to make it possible
|
|
# (traits would need to be moved around and refactored themselves)
|
|
required-features = ["http-client"]
|
|
|
|
[features]
|
|
default = ["http-client"]
|
|
http-client = ["cosmrs/rpc"]
|
|
generate-ts = []
|
|
contract-testing = ["nym-mixnet-contract-common/contract-testing"]
|
|
# Features below are added to make clippy happy, it seems like they're unused we should remove them
|
|
tendermint-rpc-http-client = ["tendermint-rpc/http-client"]
|
|
tendermint-rpc-websocket-client = ["tendermint-rpc/websocket-client"]
|