68 lines
2.1 KiB
TOML
68 lines
2.1 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "nym-gateway-requests"
|
|
version = "0.1.0"
|
|
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bs58 = { workspace = true }
|
|
futures = { workspace = true }
|
|
generic-array = { workspace = true, features = ["serde"] }
|
|
rand = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
strum = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
time = { workspace = true }
|
|
subtle = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
|
|
nym-bin-common = { path = "../bin-common" }
|
|
nym-crypto = { path = "../crypto", features = ["aead", "hashing"] }
|
|
nym-pemstore = { path = "../pemstore" }
|
|
nym-sphinx = { path = "../nymsphinx" }
|
|
nym-serde-helpers = { path = "../serde-helpers", features = ["base64"] }
|
|
nym-statistics-common = { path = "../statistics" }
|
|
nym-task = { path = "../task" }
|
|
|
|
nym-credentials = { path = "../credentials" }
|
|
nym-credentials-interface = { path = "../credentials-interface" }
|
|
|
|
opentelemetry = { workspace = true, features = ["trace"], optional = true }
|
|
opentelemetry_sdk = { workspace = true, optional = true }
|
|
tracing-opentelemetry = { workspace = true, optional = true }
|
|
tracing = { workspace = true, features = ["std", "attributes", "tracing-attributes"] }
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio]
|
|
workspace = true
|
|
features = ["time"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasmtimer]
|
|
workspace = true
|
|
features = ["tokio"]
|
|
|
|
[dependencies.tungstenite]
|
|
workspace = true
|
|
default-features = false
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
nym-compact-ecash = { path = "../nym_offline_compact_ecash" } # we need specific imports in tests
|
|
nym-test-utils = { path = "../test-utils" }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
|
|
[features]
|
|
default = []
|
|
otel = [
|
|
"nym-bin-common/otel",
|
|
"opentelemetry",
|
|
"opentelemetry_sdk",
|
|
"tracing-opentelemetry",
|
|
]
|