343c55f981
* Rocket main stub * Add anyhow * Stub cache reads and writes * Finalize stubs * Add generic Rocket.toml * Put back targets * Have cache own its validator client * allow dead code * Update rocket.toml for 0.5
43 lines
1.3 KiB
TOML
43 lines
1.3 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "nym-validator-api"
|
|
version = "0.10.1"
|
|
authors = [
|
|
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
|
"Jędrzej Stuczyński <andrew@nymtech.net>",
|
|
]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
clap = "2.33.0"
|
|
dotenv = "0.15.0"
|
|
futures = "0.3"
|
|
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", branch="master" }
|
|
anyhow = "1"
|
|
|
|
|
|
## internal
|
|
crypto = { path="../common/crypto" }
|
|
gateway-client = { path="../common/client-libs/gateway-client" }
|
|
gateway-requests = { path="../gateway/gateway-requests" }
|
|
mixnet-contract = { path="../common/mixnet-contract" }
|
|
nymsphinx = { path="../common/nymsphinx" }
|
|
topology = { path="../common/topology" }
|
|
validator-client = { path="../common/client-libs/validator-client" }
|
|
version-checker = { path="../common/version-checker" }
|
|
|
|
[dev-dependencies]
|