5a07b73375
* removed mnemonic from gateway config struct scaffolding for common mixnet listener running verloc unconditionally in a nym-node remove filtering by mixnode extracted verloc to separate crate integrated nym-node-http-server more tightly with the binary most logic for handling forward packets running all mixnode-related tasks natively inside nymnode removed gateway storage trait in favour of the only concrete implementation most logic for handling final hop packets using nym-node owned socket listener for gateways utility for sending plain message through mixnet + gateway fix using common packet forwarding in both modes nifying nym-node metrics reproduce behaviour of the console logger cleaned up cli args redesigned gateway tasks startup procedure removing dead code scaffolding for old config v6 config migration implemented MixnetMetricsCleaner * clippy * require entry/exit for wireguard * removed dead code in migration code * updated config template * use custom user agent for verloc queries * fixed premature shutdown of gateway tasks * hidden nym-api flag to allow illegal node ips * experiment: final hop handing with wireguard * added additional startup logs * typo * fixed legacy stats endpoint data * additional logs * apply review comments * fixed local testnet manager
129 lines
4.3 KiB
TOML
129 lines
4.3 KiB
TOML
[package]
|
|
name = "nym-client-core"
|
|
version = "1.1.15"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
base64 = { workspace = true }
|
|
bs58 = { workspace = true }
|
|
cfg-if = { workspace = true }
|
|
clap = { workspace = true, optional = true }
|
|
comfy-table = { workspace = true, optional = true }
|
|
futures = { workspace = true }
|
|
humantime-serde = { workspace = true }
|
|
log = { workspace = true }
|
|
rand = { workspace = true }
|
|
rand_chacha = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
si-scale = { workspace = true }
|
|
tap = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true, features = ["serde"] }
|
|
tokio = { workspace = true, features = ["macros"] }
|
|
time = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
|
|
# internal
|
|
nym-id = { path = "../nym-id" }
|
|
nym-bandwidth-controller = { path = "../bandwidth-controller" }
|
|
nym-config = { path = "../config" }
|
|
nym-country-group = { path = "../country-group" }
|
|
nym-crypto = { path = "../crypto" }
|
|
nym-explorer-client = { path = "../../explorer-api/explorer-client" }
|
|
nym-gateway-client = { path = "../client-libs/gateway-client" }
|
|
nym-gateway-requests = { path = "../gateway-requests" }
|
|
nym-metrics = { path = "../nym-metrics" }
|
|
nym-nonexhaustive-delayqueue = { path = "../nonexhaustive-delayqueue" }
|
|
nym-sphinx = { path = "../nymsphinx" }
|
|
nym-statistics-common = { path = "../statistics" }
|
|
nym-pemstore = { path = "../pemstore" }
|
|
nym-topology = { path = "../topology", features = ["serializable"] }
|
|
nym-mixnet-client = { path = "../client-libs/mixnet-client", default-features = false }
|
|
nym-validator-client = { path = "../client-libs/validator-client", default-features = false }
|
|
nym-task = { path = "../task" }
|
|
nym-credentials-interface = { path = "../credentials-interface" }
|
|
nym-credential-storage = { path = "../credential-storage" }
|
|
nym-network-defaults = { path = "../network-defaults" }
|
|
nym-client-core-config-types = { path = "./config-types", features = [
|
|
"disk-persistence",
|
|
] }
|
|
nym-client-core-surb-storage = { path = "./surb-storage" }
|
|
nym-client-core-gateways-storage = { path = "./gateways-storage" }
|
|
nym-ecash-time = { path = "../ecash-time" }
|
|
|
|
### For serving prometheus metrics
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.hyper]
|
|
workspace = true
|
|
features = ["server", "http1"]
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.http-body-util]
|
|
workspace = true
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.hyper-util]
|
|
workspace = true
|
|
features = ["tokio"]
|
|
###
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-stream]
|
|
workspace = true
|
|
features = ["time"]
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio]
|
|
workspace = true
|
|
features = ["time"]
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-tungstenite]
|
|
workspace = true
|
|
features = ["rustls-tls-webpki-roots"]
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tungstenite]
|
|
workspace = true
|
|
default-features = true
|
|
features = ["rustls-tls-webpki-roots"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.tungstenite]
|
|
workspace = true
|
|
default-features = false
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
|
|
workspace = true
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
|
|
workspace = true
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasmtimer]
|
|
workspace = true
|
|
features = ["tokio"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.gloo-timers]
|
|
version = "0.3.0"
|
|
features = ["futures"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-utils]
|
|
path = "../wasm/utils"
|
|
features = ["websocket"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.time]
|
|
workspace = true
|
|
features = ["wasm-bindgen"]
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
cli = ["clap", "comfy-table"]
|
|
fs-credentials-storage = ["nym-credential-storage/persistent-storage"]
|
|
fs-surb-storage = ["nym-client-core-surb-storage/fs-surb-storage"]
|
|
fs-gateways-storage = ["nym-client-core-gateways-storage/fs-gateways-storage"]
|
|
wasm = ["nym-gateway-client/wasm"]
|
|
metrics-server = []
|