8461d085a5
merge release/2025.13-emmental to develop
133 lines
4.7 KiB
TOML
133 lines
4.7 KiB
TOML
# Copyright 2023 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
[package]
|
|
name = "nym-node"
|
|
version = "1.15.0"
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
edition.workspace = true
|
|
license = "GPL-3.0"
|
|
|
|
# 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 } # country codes
|
|
colored = { workspace = true }
|
|
csv = { workspace = true }
|
|
clap = { workspace = true, features = ["cargo", "env"] }
|
|
futures = { workspace = true }
|
|
humantime-serde = { workspace = true }
|
|
human-repr = { workspace = true }
|
|
ipnetwork = { workspace = true }
|
|
indicatif = { workspace = true }
|
|
rand = { 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
|
|
tokio = { workspace = true, features = ["macros", "sync", "rt-multi-thread"] }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
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 = { path = "../common/bin-common", features = [
|
|
"basic_tracing",
|
|
"output_format",
|
|
] }
|
|
nym-client-core-config-types = { path = "../common/client-core/config-types", features = [
|
|
"disk-persistence",
|
|
] }
|
|
nym-config = { path = "../common/config" }
|
|
nym-crypto = { path = "../common/crypto", features = ["asymmetric", "rand"] }
|
|
nym-nonexhaustive-delayqueue = { path = "../common/nonexhaustive-delayqueue" }
|
|
nym-mixnet-client = { path = "../common/client-libs/mixnet-client" }
|
|
nym-noise = { path = "../common/nymnoise" }
|
|
nym-noise-keys = { path = "../common/nymnoise/keys" }
|
|
nym-pemstore = { path = "../common/pemstore" }
|
|
nym-sphinx-acknowledgements = { path = "../common/nymsphinx/acknowledgements" }
|
|
nym-sphinx-addressing = { path = "../common/nymsphinx/addressing" }
|
|
nym-sphinx-framing = { path = "../common/nymsphinx/framing" }
|
|
nym-sphinx-types = { path = "../common/nymsphinx/types" }
|
|
nym-sphinx-forwarding = { path = "../common/nymsphinx/forwarding" }
|
|
nym-sphinx-routing = { path = "../common/nymsphinx/routing" }
|
|
nym-sphinx-params = { path = "../common/nymsphinx/params" }
|
|
nym-statistics-common = { path = "../common/statistics" }
|
|
nym-task = { path = "../common/task" }
|
|
nym-types = { path = "../common/types" }
|
|
nym-validator-client = { path = "../common/client-libs/validator-client" }
|
|
nym-wireguard = { path = "../common/wireguard" }
|
|
nym-wireguard-types = { path = "../common/wireguard-types", default-features = false }
|
|
nym-verloc = { path = "../common/verloc" }
|
|
nym-metrics = { path = "../common/nym-metrics" }
|
|
nym-gateway-stats-storage = { path = "../common/gateway-stats-storage" }
|
|
nym-topology = { path = "../common/topology" }
|
|
nym-http-api-client = { path = "../common/http-api-client" }
|
|
|
|
# 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 = { path = "../common/http-api-common", features = [
|
|
"utoipa",
|
|
"output",
|
|
"middleware",
|
|
] }
|
|
nym-node-requests = { path = "nym-node-requests", default-features = false, features = [
|
|
"openapi",
|
|
] }
|
|
nym-node-metrics = { path = "nym-node-metrics" }
|
|
|
|
# nodes:
|
|
nym-gateway = { path = "../gateway" }
|
|
nym-authenticator = { path = "../service-providers/authenticator" }
|
|
nym-network-requester = { path = "../service-providers/network-requester" }
|
|
nym-ip-packet-router = { path = "../service-providers/ip-packet-router" }
|
|
|
|
|
|
# throughput tester to recreate lioness
|
|
# we don't care about particular versions - just pull whatever is used by sphinx
|
|
lioness = "*"
|
|
chacha = "0.3.0"
|
|
arrayref = "*"
|
|
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]
|
|
criterion = { workspace = true, features = ["async_tokio"] }
|
|
rand_chacha = { workspace = true }
|
|
|
|
|
|
[lints]
|
|
workspace = true
|