Files
nym/nym-node/Cargo.toml
T
Jędrzej Stuczyński c1ddcc75cf LP: announced KEM key hashes (#6349)
* announce KEM key hashes and use generated value within LpStateMachine

* added digest of remote KEM key into LpSession

* changed  constructor to LpSession to take explicit key materials for local and remote

this makes it easier to change keys required by each party without having to change all the interfaces everywhere again

* extended the changes to LpStateMachine constructor

* modify the interface to LpRegistrationHandler and LpListener

* gateway probe fixes

* temp nym-lp-client fixes

* review nits

* remove network test

* introduced v2/nym-nodes/described endpoint for returning nodes description alongside LP data

* missed V1 -> V2 description replacements

* removed deprecated call within mix-fetch

* use old v1 call in network stats
2026-01-22 14:29:33 +00:00

140 lines
4.3 KiB
TOML

# Copyright 2023 - Nym Technologies SA <contact@nymtech.net>
# SPDX-License-Identifier: GPL-3.0-only
[package]
name = "nym-node"
version = "1.23.0"
authors.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
edition.workspace = true
license = "GPL-3.0"
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"] }
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"] }
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",
] }
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 }
# nodes:
nym-gateway = { path = "../gateway" }
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 }
[features]
tokio-console = ["console-subscriber", "nym-task/tokio-tracing"]
[lints]
workspace = true