4f46e36aa8
* Make gateway mnemonic optional * Remove unnecessary timer struct * Prepare for code reuse * Use trait for stats collector * Put trait definition in common crate * Gateway stats runner * Custom statistics url arg * Build & send stats req to url * Storage support for new stats type * Make gateway stats opt in * Test&clippy fixes * CHANGELOG update
38 lines
1.3 KiB
TOML
38 lines
1.3 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "nym-network-requester"
|
|
version = "1.0.1"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>", "Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = { version = "0.1.51" }
|
|
clap = "2.33.0"
|
|
dirs = "3.0"
|
|
futures = "0.3"
|
|
ipnetwork = "0.17"
|
|
log = "0.4"
|
|
pretty_env_logger = "0.4"
|
|
publicsuffix = "1.5"
|
|
rand = "0.7"
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
sqlx = { version = "0.5", features = ["runtime-tokio-rustls", "chrono"]}
|
|
thiserror = "1"
|
|
tokio = { version = "1.19.1", features = [ "net", "rt-multi-thread", "macros" ] }
|
|
tokio-tungstenite = "0.14"
|
|
|
|
|
|
# internal
|
|
network-defaults = { path = "../../common/network-defaults" }
|
|
nymsphinx = { path = "../../common/nymsphinx" }
|
|
ordered-buffer = {path = "../../common/socks5/ordered-buffer"}
|
|
proxy-helpers = { path = "../../common/socks5/proxy-helpers" }
|
|
socks5-requests = { path = "../../common/socks5/requests" }
|
|
statistics-common = { path = "../../common/statistics" }
|
|
websocket-requests = { path = "../../clients/native/websocket-requests" }
|