155 lines
5.0 KiB
TOML
155 lines
5.0 KiB
TOML
# Copyright 2023 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
[package]
|
|
name = "nym-node"
|
|
version = "1.33.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "GPL-3.0"
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
publish = false
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
anyhow.workspace = true
|
|
arc-swap = { workspace = true }
|
|
bip39 = { workspace = true, features = ["zeroize"] }
|
|
bs58.workspace = true
|
|
bloomfilter = { workspace = true }
|
|
celes = { workspace = true }
|
|
cfg-if = { workspace = true }# country codes
|
|
colored = { workspace = true }
|
|
console-subscriber = { workspace = true, optional = true }
|
|
csv = { workspace = true }
|
|
clap = { workspace = true, features = ["cargo", "env"] }
|
|
dashmap = { workspace = true }
|
|
futures = { workspace = true }
|
|
hex = { workspace = true }
|
|
humantime-serde = { workspace = true }
|
|
human-repr = { workspace = true }
|
|
ipnetwork = { workspace = true }
|
|
indicatif = { workspace = true }
|
|
rand = { workspace = true }
|
|
rand09 = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
tracing.workspace = true
|
|
tracing-indicatif = { workspace = true }
|
|
tracing-subscriber.workspace = true
|
|
opentelemetry = { workspace = true, features = ["trace"], optional = true }
|
|
opentelemetry_sdk = { workspace = true, features = ["trace"], optional = true }
|
|
tokio = { workspace = true, features = ["macros", "sync", "rt-multi-thread"] }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
tokio-stream = { workspace = true }
|
|
toml = { workspace = true }
|
|
url = { workspace = true, features = ["serde"] }
|
|
zeroize = { workspace = true, features = ["zeroize_derive"] }
|
|
|
|
# system info:
|
|
cupid = { workspace = true }
|
|
sysinfo = { workspace = true }
|
|
|
|
nym-bin-common = { workspace = true, features = [
|
|
"basic_tracing",
|
|
"output_format",
|
|
"ip_check"
|
|
] }
|
|
nym-client-core-config-types = { workspace = true, features = [
|
|
"disk-persistence",
|
|
] }
|
|
nym-config = { workspace = true }
|
|
nym-credential-verification = { workspace = true }
|
|
nym-crypto = { workspace = true, features = ["asymmetric", "rand"] }
|
|
nym-kkt = { path = "../common/nym-kkt" }
|
|
nym-nonexhaustive-delayqueue = { workspace = true }
|
|
nym-mixnet-client = { workspace = true }
|
|
nym-noise = { workspace = true }
|
|
nym-noise-keys = { workspace = true }
|
|
nym-pemstore = { workspace = true }
|
|
nym-sphinx-acknowledgements = { workspace = true }
|
|
nym-sphinx-addressing = { workspace = true }
|
|
nym-sphinx-framing = { workspace = true }
|
|
nym-sphinx-types = { workspace = true }
|
|
nym-sphinx-forwarding = { workspace = true }
|
|
nym-sphinx-routing = { workspace = true }
|
|
nym-sphinx-params = { workspace = true }
|
|
nym-statistics-common = { workspace = true }
|
|
nym-task = { workspace = true }
|
|
nym-types = { workspace = true }
|
|
nym-validator-client = { workspace = true }
|
|
nym-wireguard = { workspace = true }
|
|
nym-wireguard-types = { workspace = true }
|
|
nym-verloc = { workspace = true }
|
|
nym-metrics = { workspace = true }
|
|
nym-gateway-stats-storage = { workspace = true }
|
|
nym-topology = { workspace = true }
|
|
nym-http-api-client = { workspace = true }
|
|
|
|
# http server
|
|
# useful for `#[axum_macros::debug_handler]`
|
|
#axum-macros = "0.3.8"
|
|
axum.workspace = true
|
|
time = { workspace = true, features = ["serde"] }
|
|
tower-http = { workspace = true, features = ["fs"] }
|
|
utoipa = { workspace = true, features = ["axum_extras", "time"] }
|
|
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
|
|
|
|
nym-http-api-common = { workspace = true, features = [
|
|
"utoipa",
|
|
"output",
|
|
"middleware",
|
|
] }
|
|
nym-node-requests = { workspace = true, default-features = false, features = [
|
|
"openapi",
|
|
] }
|
|
nym-node-metrics = { workspace = true }
|
|
nyxd-scraper-shared = { workspace = true }
|
|
|
|
# nodes:
|
|
nym-gateway = { path = "../gateway" }
|
|
nym-network-requester = { path = "../service-providers/network-requester" }
|
|
nym-ip-packet-router = { path = "../service-providers/ip-packet-router" }
|
|
|
|
# LP dependencies
|
|
nym-lp = { workspace = true, default-features = true }
|
|
nym-lp-data.workspace = true
|
|
nym-registration-common = { path = "../common/registration" }
|
|
bincode = { workspace = true }
|
|
|
|
|
|
# throughput tester to recreate lioness
|
|
# we don't care about particular versions - just pull whatever is used by sphinx
|
|
lioness = { workspace = true }
|
|
chacha = "0.3.0"
|
|
arrayref = { workspace = true }
|
|
blake2 = "=0.8.1"
|
|
sha2 = { workspace = true }
|
|
hkdf = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "benchmarks"
|
|
harness = false
|
|
|
|
|
|
[build-dependencies]
|
|
# temporary bonding information v1 (to grab and parse nym-mixnode and nym-gateway package versions)
|
|
cargo_metadata = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
nym-lp = { workspace = true, default-features = true, features = ["mock"] }
|
|
criterion = { workspace = true, features = ["async_tokio"] }
|
|
nym-test-utils = { workspace = true }
|
|
|
|
[features]
|
|
tokio-console = ["console-subscriber", "nym-task/tokio-tracing"]
|
|
otel = ["nym-bin-common/otel-otlp", "dep:opentelemetry", "dep:opentelemetry_sdk"]
|
|
|
|
[lints]
|
|
workspace = true
|