a274edffba
* Calculating gas fees * Ability to set custom fees * Added extra test * Removed commented code * Moved all msg types to common contract crate * Temporarily disabling get_tx method * Finishing up nymd client API * Comment fix * Remaining fee values * Some cleanup * Removed needless borrow * Fixed imports in contract tests * Moved error types around * New ValidatorClient * Experiment with new type of defaults * Removed dead module * Dealt with unwrap * Migrated mixnode to use new validator client * Migrated gateway to use new validator client * Mixnode and gateway adjustments * More exported defaults * Clients using new validator client * Fixed mixnode upgrade * Moved default values to a new crate * Changed behaviour of validator client features * Migrated basic functions of validator api * Updated config + fixed startup * Fixed wasm client build * Integration with the explorer api * Removed tokio dev dependency * Needless borrow * Fixex wasm client build * Fixed tauri client build * Needless borrows * Fixed client upgrade print * Removed redundant comments * Made note on aggregated verification key into a doc comment * Removed mixnet contract references from verloc * Modified default validators structure * Reformatted validator-api Cargo.toml file * Removed commented code * Made the doc comment example a no-run * Fixed a upgrade print... again * Adjusted the doc example * Removed unused import
57 lines
1.9 KiB
TOML
57 lines
1.9 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "nym-validator-api"
|
|
version = "0.11.0"
|
|
authors = [
|
|
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
|
"Jędrzej Stuczyński <andrew@nymtech.net>",
|
|
"Drazen Urch <durch@users.noreply.github.com>",
|
|
]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
clap = "2.33.0"
|
|
dirs = "3.0"
|
|
dotenv = "0.15.0"
|
|
futures = "0.3"
|
|
humantime-serde = "1.0"
|
|
log = "0.4"
|
|
pin-project = "1.0"
|
|
pretty_env_logger = "0.4"
|
|
rand = "0.7"
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
rocket = { version = "0.5.0-rc.1", features = ["json"] }
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.4", features = ["rt-multi-thread", "macros", "signal", "time"] }
|
|
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", rev = "dfd3662c49e2f6fc37df35091cb94d82f7fb5915" }
|
|
url = "2.2"
|
|
|
|
|
|
anyhow = "1"
|
|
getset = "0.1.1"
|
|
|
|
rocket_sync_db_pools = { version = "0.1.0-rc.1", default-features = false }
|
|
sqlx = { version = "0.5", features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "time"] }
|
|
|
|
## internal
|
|
config = { path = "../common/config" }
|
|
crypto = { path = "../common/crypto" }
|
|
gateway-client = { path = "../common/client-libs/gateway-client" }
|
|
mixnet-contract = { path = "../common/mixnet-contract" }
|
|
nymsphinx = { path = "../common/nymsphinx" }
|
|
topology = { path = "../common/topology" }
|
|
validator-client = { path = "../common/client-libs/validator-client", features = ["nymd-client"] }
|
|
version-checker = { path = "../common/version-checker" }
|
|
coconut-interface = { path = "../common/coconut-interface" }
|
|
credentials = { path = "../common/credentials" }
|
|
|
|
|
|
[build-dependencies]
|
|
tokio = { version = "1.4", features = ["rt-multi-thread", "macros"] }
|
|
sqlx = { version = "0.5", features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"] }
|