a43d183b4f
* Compiles but runtime time fails * wip * Beginning of clean-up - creation of config to keep things together * Removed unused module * Removed hardcoded constants * Easier way of sending binary messages * WIP cleanup before machine switch * Upgrade wasm-bindgen to 0.2.83 * Fixed compilation warnings for wasm client * all clients compiling without warnings * disabling topology refresh in wasm * Added a config option to disable loop cover traffic stream * config changes * Make webassembly work in a web worker - `wasm-timer` modified to work in web worker - add worker target to webpack - add client to call from HTML - update README to build WASM for bundling (this does not build ES modules) * Restored topology refreshing * correctly polling items in the wasm delay_queue * Allow client to read up to 8 messages at once from gateway connection (#1669) * Allow client to read up to 8 messages at once from gateway connection * Importing tokio::select in wasm32 target * Updated changelog * missing imports * Introduced disable_main_poisson_packet_distribution to force real_traffic_stream to disable poisson sending (#1664) * Introduced disable_main_poisson_packet_distribution to force real_traffic_stream to disable poisson sending * Updated changelog * Adjusting default settings * Introduced a client-configurable option to force it to use extended packet size * local adjustments * Removed warning associated with receiving extended packets * Minimal v2-required changes * Updated changelog * explicitly allowing clippy drop_non_drop Co-authored-by: Mark Sinclair <mmsinclair@gmail.com>
63 lines
2.2 KiB
TOML
63 lines
2.2 KiB
TOML
[package]
|
|
name = "validator-client"
|
|
version = "0.1.0"
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
rust-version = "1.56"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
base64 = "0.13"
|
|
colored = "2.0"
|
|
cw3 = "0.13.1"
|
|
mixnet-contract-common = { path= "../../cosmwasm-smart-contracts/mixnet-contract" }
|
|
vesting-contract-common = { path= "../../cosmwasm-smart-contracts/vesting-contract" }
|
|
coconut-bandwidth-contract-common = { path= "../../cosmwasm-smart-contracts/coconut-bandwidth-contract" }
|
|
multisig-contract-common = { path = "../../cosmwasm-smart-contracts/multisig-contract" }
|
|
vesting-contract = { path = "../../../contracts/vesting" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
thiserror = "1"
|
|
log = "0.4"
|
|
url = { version = "2.2", features = ["serde"] }
|
|
tokio = { version = "1.21.2", features = ["sync", "time"] }
|
|
futures = "0.3"
|
|
|
|
coconut-interface = { path = "../../coconut-interface" }
|
|
network-defaults = { path = "../../network-defaults" }
|
|
validator-api-requests = { path = "../../../validator-api/validator-api-requests", features = ["coconut"] }
|
|
|
|
# required for nymd-client
|
|
# at some point it might be possible to make it wasm-compatible
|
|
# perhaps after https://github.com/cosmos/cosmos-rust/pull/97 is resolved (and tendermint-rs is updated)
|
|
async-trait = { version = "0.1.51", optional = true }
|
|
bip39 = { version = "1", features = ["rand"], optional = true }
|
|
config = { path = "../../config", optional = true }
|
|
cosmrs = { git = "https://github.com/neacsu/cosmos-rust", branch = "neacsu/feegrant_support", features = ["rpc", "bip32", "cosmwasm"], optional = true}
|
|
prost = { version = "0.10", default-features = false, optional = true }
|
|
flate2 = { version = "1.0.20", optional = true }
|
|
sha2 = { version = "0.9.5", optional = true }
|
|
itertools = { version = "0.10", optional = true }
|
|
cosmwasm-std = { version = "1.0.0", optional = true }
|
|
execute = { path = "../../execute" }
|
|
|
|
[dev-dependencies]
|
|
ts-rs = "6.1.2"
|
|
|
|
[features]
|
|
nymd-client = [
|
|
"async-trait",
|
|
"bip39",
|
|
"config",
|
|
"cosmrs",
|
|
"prost",
|
|
"flate2",
|
|
"sha2",
|
|
"itertools",
|
|
"cosmwasm-std",
|
|
]
|
|
generate-ts = []
|
|
|