827c13b69e
dont build netstack in CI additional rust 2024 fixes fixes removed temp.rs first round of cleanup removed duplicated NS types moved gateway probe to the monorepo
97 lines
3.9 KiB
TOML
97 lines
3.9 KiB
TOML
[package]
|
|
name = "nym-validator-client"
|
|
version = "0.1.0"
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
rust-version = "1.85"
|
|
license.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 = { path = "../../cosmwasm-smart-contracts/coconut-dkg" }
|
|
nym-contracts-common = { path = "../../cosmwasm-smart-contracts/contracts-common" }
|
|
nym-mixnet-contract-common = { path = "../../cosmwasm-smart-contracts/mixnet-contract" }
|
|
nym-vesting-contract-common = { path = "../../cosmwasm-smart-contracts/vesting-contract" }
|
|
nym-ecash-contract-common = { path = "../../cosmwasm-smart-contracts/ecash-contract" }
|
|
nym-multisig-contract-common = { path = "../../cosmwasm-smart-contracts/multisig-contract" }
|
|
nym-group-contract-common = { path = "../../cosmwasm-smart-contracts/group-contract" }
|
|
nym-performance-contract-common = { path = "../../cosmwasm-smart-contracts/nym-performance-contract" }
|
|
nym-serde-helpers = { path = "../../serde-helpers", features = ["hex", "base64"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
nym-http-api-client = { path = "../../../common/http-api-client" }
|
|
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 = { path = "../../nym_offline_compact_ecash" }
|
|
nym-network-defaults = { path = "../../network-defaults" }
|
|
nym-api-requests = { path = "../../../nym-api/nym-api-requests" }
|
|
|
|
async-trait = { workspace = true }
|
|
bip39 = { workspace = true, features = ["rand"] }
|
|
nym-config = { path = "../../config" }
|
|
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]
|
|
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"]
|