a70e68c7bd
* Smolmix documentation * Add smolmix docs: landing page, tutorials, and developer page links * Add Exit Gateway services page (NR vs IPR) and link from existing docs * Update auto-generated command and API outputs * Reorg of tutorials and architecture pages * License information + remove TODO from docs.rs visibile comment + reorg readme * Add versions file for doc-wide versioning * Relative -> absolute links * Relative -> absolute links * Update license + add old tutorial code as examples * Streamline smolmix docs * Clippy * Clean up doc comments * Last pass * Add larger file download to list * set new versions * Clippy * Remove blake pin from docs + add version range to root Cargo.toml * Format example logging * Remove crate blocked component * Loose whitespace * Add doc verification script for inline mdx * Formatting * Components regen * Reorg + tighten text * Voicing cohesion pass + remove bloated examples * Voicing cont. * Reduce max download size * Small suggested clarifications * Max/docs voicing consistency (#6769) * Reduce max download size * voicing consistency across docs * New landing order w smolmix * Tweaks * Final tweaks
619 lines
22 KiB
TOML
619 lines
22 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
opt-level = "s"
|
|
overflow-checks = true
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.test]
|
|
# equivalent of running in `--release` (but since we're in test profile we're keeping overflow checks and all of those by default)
|
|
opt-level = 3
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"clients/native",
|
|
"clients/native/websocket-requests",
|
|
"clients/socks5",
|
|
"common/async-file-watcher",
|
|
"common/authenticator-requests",
|
|
"common/bandwidth-controller",
|
|
"common/bin-common",
|
|
"common/client-core",
|
|
"common/client-core/config-types",
|
|
"common/client-core/gateways-storage",
|
|
"common/client-core/surb-storage",
|
|
"common/client-libs/gateway-client",
|
|
"common/client-libs/mixnet-client",
|
|
"common/client-libs/validator-client",
|
|
"common/commands",
|
|
"common/nym-common",
|
|
"common/config",
|
|
"common/cosmwasm-smart-contracts/coconut-dkg",
|
|
"common/cosmwasm-smart-contracts/contracts-common",
|
|
"common/cosmwasm-smart-contracts/contracts-common-testing",
|
|
"common/cosmwasm-smart-contracts/easy_addr",
|
|
"common/cosmwasm-smart-contracts/ecash-contract",
|
|
"common/cosmwasm-smart-contracts/group-contract",
|
|
"common/cosmwasm-smart-contracts/mixnet-contract",
|
|
"common/cosmwasm-smart-contracts/multisig-contract",
|
|
"common/cosmwasm-smart-contracts/nym-performance-contract",
|
|
"common/cosmwasm-smart-contracts/nym-pool-contract",
|
|
"common/cosmwasm-smart-contracts/vesting-contract",
|
|
"common/credential-proxy",
|
|
"common/credential-storage",
|
|
"common/credential-utils",
|
|
"common/credential-verification",
|
|
"common/credentials",
|
|
"common/credentials-interface",
|
|
"common/crypto",
|
|
"common/dkg",
|
|
"common/ecash-signer-check",
|
|
"common/ecash-signer-check-types",
|
|
"common/ecash-time",
|
|
"common/exit-policy",
|
|
"common/gateway-requests",
|
|
"common/gateway-stats-storage",
|
|
"common/gateway-storage",
|
|
"common/http-api-client",
|
|
"common/http-api-client-macro",
|
|
"common/http-api-common",
|
|
"common/inclusion-probability",
|
|
"common/ip-packet-requests",
|
|
"common/ledger",
|
|
"common/mixnode-common",
|
|
"common/network-defaults",
|
|
"common/node-tester-utils",
|
|
"common/nonexhaustive-delayqueue",
|
|
"common/nym-cache",
|
|
"common/nym-connection-monitor",
|
|
"common/nym-id",
|
|
"common/nym-kcp",
|
|
"common/nym-lp",
|
|
"common/nym-kkt",
|
|
"common/nym-metrics",
|
|
"common/nym_offline_compact_ecash",
|
|
"common/nymnoise",
|
|
"common/nymnoise/keys",
|
|
"common/nymsphinx",
|
|
"common/nymsphinx/acknowledgements",
|
|
"common/nymsphinx/addressing",
|
|
"common/nymsphinx/anonymous-replies",
|
|
"common/nymsphinx/chunking",
|
|
"common/nymsphinx/cover",
|
|
"common/nymsphinx/forwarding",
|
|
"common/nymsphinx/framing",
|
|
"common/nymsphinx/params",
|
|
"common/nymsphinx/routing",
|
|
"common/nymsphinx/types",
|
|
"common/nyxd-scraper-sqlite",
|
|
"common/nyxd-scraper-psql",
|
|
"common/nyxd-scraper-shared",
|
|
"common/pemstore",
|
|
"common/registration",
|
|
"common/serde-helpers",
|
|
"common/service-provider-requests-common",
|
|
"common/socks5-client-core",
|
|
"common/socks5/proxy-helpers",
|
|
"common/socks5/requests",
|
|
"common/statistics",
|
|
"common/store-cipher",
|
|
"common/task",
|
|
"common/test-utils",
|
|
"common/ticketbooks-merkle",
|
|
"common/topology",
|
|
"common/tun",
|
|
"common/types",
|
|
"common/upgrade-mode-check",
|
|
"common/verloc",
|
|
"common/wasm/client-core",
|
|
"common/wasm/storage",
|
|
"common/wasm/utils",
|
|
"common/wireguard",
|
|
"common/wireguard-private-metadata/client",
|
|
"common/wireguard-private-metadata/server",
|
|
"common/wireguard-private-metadata/shared",
|
|
"common/wireguard-private-metadata/tests",
|
|
"common/wireguard-types",
|
|
"common/zulip-client",
|
|
"documentation/autodoc",
|
|
"gateway",
|
|
"nym-api",
|
|
"nym-api/nym-api-requests",
|
|
"nym-authenticator-client",
|
|
"nym-browser-extension/storage",
|
|
"nym-credential-proxy/nym-credential-proxy",
|
|
"nym-credential-proxy/nym-credential-proxy-requests",
|
|
"nym-data-observatory",
|
|
"nym-ip-packet-client",
|
|
"nym-network-monitor",
|
|
"nym-node",
|
|
"nym-node-status-api/nym-node-status-agent",
|
|
"nym-node-status-api/nym-node-status-api",
|
|
"nym-node-status-api/nym-node-status-client",
|
|
"nym-node/nym-node-metrics",
|
|
"nym-node/nym-node-requests",
|
|
"nym-outfox",
|
|
"nym-registration-client",
|
|
"nym-signers-monitor",
|
|
"nym-statistics-api",
|
|
"nym-validator-rewarder",
|
|
"nyx-chain-watcher",
|
|
"sdk/ffi/cpp",
|
|
"sdk/ffi/go",
|
|
"sdk/ffi/shared",
|
|
"sdk/rust/nym-sdk",
|
|
"smolmix/core",
|
|
"service-providers/common",
|
|
"service-providers/ip-packet-router",
|
|
"service-providers/network-requester",
|
|
"nym-sqlx-pool-guard",
|
|
"tools/echo-server",
|
|
"tools/internal/contract-state-importer/importer-cli",
|
|
"tools/internal/contract-state-importer/importer-contract",
|
|
"tools/internal/mixnet-connectivity-check",
|
|
# "tools/internal/sdk-version-bump",
|
|
"tools/internal/ssl-inject",
|
|
"tools/internal/localnet-orchestrator",
|
|
"tools/internal/localnet-orchestrator/dkg-bypass-contract",
|
|
"tools/internal/validator-status-check",
|
|
"tools/nym-cli",
|
|
"tools/nym-id-cli",
|
|
"tools/nym-lp-client",
|
|
"tools/nym-nr-query",
|
|
"tools/nymvisor",
|
|
"tools/ts-rs-cli",
|
|
"wasm/client",
|
|
# "wasm/full-nym-wasm", # If we uncomment this again, remember to also uncomment the profile settings below
|
|
"wasm/mix-fetch",
|
|
"wasm/node-tester",
|
|
"wasm/zknym-lib",
|
|
"nym-gateway-probe",
|
|
"integration-tests",
|
|
"common/nym-kkt-ciphersuite",
|
|
"common/nym-kkt-context",
|
|
]
|
|
|
|
default-members = [
|
|
"clients/native",
|
|
"clients/socks5",
|
|
"nym-authenticator-client",
|
|
"nym-api",
|
|
"nym-credential-proxy/nym-credential-proxy",
|
|
"nym-node",
|
|
"nym-statistics-api",
|
|
"nym-validator-rewarder",
|
|
"nyx-chain-watcher",
|
|
"service-providers/ip-packet-router",
|
|
"service-providers/network-requester",
|
|
"tools/nymvisor",
|
|
"nym-registration-client",
|
|
"tools/internal/localnet-orchestrator"
|
|
]
|
|
|
|
exclude = ["contracts", "nym-wallet", "cpu-cycles"]
|
|
|
|
[workspace.package]
|
|
authors = ["Nym Technologies SA"]
|
|
repository = "https://github.com/nymtech/nym"
|
|
homepage = "https://nymtech.net"
|
|
documentation = "https://nymtech.net"
|
|
edition = "2024"
|
|
license = "Apache-2.0"
|
|
rust-version = "1.87.0"
|
|
readme = "README.md"
|
|
version = "1.20.4"
|
|
|
|
[workspace.dependencies]
|
|
addr = "0.15.6"
|
|
aead = "0.5.2"
|
|
aes = "0.8.1"
|
|
aes-gcm = "0.10.1"
|
|
aes-gcm-siv = "0.11.1"
|
|
ammonia = "4"
|
|
ansi_term = "0.12"
|
|
anyhow = "1.0.98"
|
|
arc-swap = "1.7.1"
|
|
argon2 = "0.5.0"
|
|
async-trait = "0.1.88"
|
|
axum = "0.7.5"
|
|
axum-client-ip = "0.6.1"
|
|
axum-extra = "0.9.4"
|
|
axum-test = "16.2.0"
|
|
base64 = "0.22.1"
|
|
base85rs = "0.1.3"
|
|
bincode = "1.3.3"
|
|
bip39 = { version = "2.0.0", features = ["zeroize"] }
|
|
bitvec = "1.0.0"
|
|
blake3 = ">=1.7, <1.8.4" # blake3 1.8.4+ requires digest 0.11; workspace is on 0.10
|
|
bloomfilter = "3.0.1"
|
|
bs58 = "0.5.1"
|
|
bytecodec = "0.4.15"
|
|
bytes = "1.11.1"
|
|
cargo-edit = "0.13.8"
|
|
cargo_metadata = "0.19.2"
|
|
celes = "2.6.0"
|
|
cfg-if = "1.0.0"
|
|
chacha20 = "0.9.0"
|
|
chacha20poly1305 = "0.10.1"
|
|
chrono = "0.4.41"
|
|
cipher = "0.4.3"
|
|
clap = "4.5.38"
|
|
clap_complete = "4.5"
|
|
clap_complete_fig = "4.5"
|
|
colored = "2.2"
|
|
comfy-table = "7.1.4"
|
|
console = "0.16.0"
|
|
console-subscriber = "0.4.1"
|
|
console_error_panic_hook = "0.1"
|
|
const-str = "0.5.6"
|
|
const_format = "0.2.34"
|
|
criterion = "0.5"
|
|
csv = "1.3.1"
|
|
ctr = "0.9.1"
|
|
cupid = "0.6.1"
|
|
curve25519-dalek = "4.1.3"
|
|
dashmap = "5.5.3"
|
|
defguard_wireguard_rs = "0.8.0"
|
|
digest = "0.10.7"
|
|
dirs = "6.0"
|
|
dotenvy = "0.15.6"
|
|
dyn-clone = "1.0.19"
|
|
ecdsa = "0.16"
|
|
ed25519-dalek = "2.1"
|
|
encoding_rs = "0.8.35"
|
|
env_logger = "0.11.8"
|
|
envy = "0.4"
|
|
etherparse = "0.13.0"
|
|
eyre = "0.6.9"
|
|
fastrand = "2.1.1"
|
|
flate2 = "1.1.1"
|
|
futures = "0.3.31"
|
|
futures-util = "0.3"
|
|
generic-array = "0.14.7"
|
|
getrandom = "0.2.10"
|
|
getrandom03 = { package = "getrandom", version = "=0.3.3" }
|
|
glob = "0.3"
|
|
handlebars = "3.5.5"
|
|
hex = "0.4.3"
|
|
hickory-proto = "0.26.1"
|
|
hickory-resolver = "0.26.1"
|
|
hkdf = "0.12.3"
|
|
hmac = "0.12.1"
|
|
http = "1"
|
|
http-body-util = "0.1"
|
|
httpcodec = "0.2.3"
|
|
human-repr = "1.1.0"
|
|
humantime = "2.2.0"
|
|
humantime-serde = "1.1.1"
|
|
hyper = "1.6.0"
|
|
hyper-util = "0.1"
|
|
indicatif = "0.18.0"
|
|
inquire = "0.6.2"
|
|
inventory = "0.3.21"
|
|
ip_network = "0.4.1"
|
|
ipnetwork = "0.20"
|
|
itertools = "0.14.0"
|
|
jwt-simple = { version = "0.12.12", default-features = false, features = [
|
|
"pure-rust",
|
|
] }
|
|
k256 = "0.13"
|
|
lazy_static = "1.5.0"
|
|
ledger-transport = "0.10.0"
|
|
ledger-transport-hid = "0.10.0"
|
|
log = "0.4"
|
|
mime = "0.3.17"
|
|
mock_instant = "0.6.0"
|
|
moka = { version = "0.12", features = ["future"] }
|
|
nix = "0.30.1"
|
|
notify = "5.1.0"
|
|
num_enum = "0.7.5"
|
|
once_cell = "1.21.3"
|
|
opentelemetry = "0.31.0"
|
|
opentelemetry_sdk = "0.31.0"
|
|
opentelemetry-otlp = "0.31.0"
|
|
tonic = "0.14.4"
|
|
parking_lot = "0.12.3"
|
|
pem = "0.8"
|
|
petgraph = "0.6.5"
|
|
pin-project = "1.1"
|
|
pnet_packet = "0.35.0"
|
|
publicsuffix = "2.3.0"
|
|
proc_pidinfo = "0.1.3"
|
|
quote = "1"
|
|
rand = "0.8.5"
|
|
rand09 = { package = "rand", version = "=0.9.2" }
|
|
rand_chacha = "0.3"
|
|
rand_chacha09 = { package = "rand_chacha", version = "=0.9.0" }
|
|
rand_core = "0.6.3"
|
|
rand_distr = "0.4"
|
|
rayon = "1.5.1"
|
|
regex = "1.10.6"
|
|
reqwest = { version = "0.13.1", default-features = false }
|
|
rs_merkle = "1.5.0"
|
|
rustls = { version = "0.23.37", default-features = false }
|
|
schemars = "0.8.22"
|
|
semver = "1.0.26"
|
|
serde = "1.0.219"
|
|
serde_bytes = "0.11.17"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0.140"
|
|
serde_json_path = "0.7.2"
|
|
serde_repr = "0.1"
|
|
serde_with = "3.9.0"
|
|
serde_yaml = "0.9.25"
|
|
serde_plain = "1.0.2"
|
|
sha2 = "0.10.3"
|
|
si-scale = "0.2.3"
|
|
smolmix = { version = "0.0.1", path = "smolmix/core" }
|
|
smoltcp = "0.12"
|
|
snow = "0.9.6"
|
|
sphinx-packet = "=0.6.0"
|
|
sqlx = "0.8.6"
|
|
strum = "0.28.0"
|
|
strum_macros = "0.28.0"
|
|
subtle-encoding = "0.5"
|
|
syn = "2"
|
|
sysinfo = "0.37.0"
|
|
tap = "1.0.1"
|
|
tar = "0.4.44"
|
|
test-with = { version = "0.15.4", default-features = false }
|
|
tempfile = "3.20"
|
|
thiserror = "2.0"
|
|
time = "0.3.41"
|
|
tls_codec = "0.4.1"
|
|
tokio = "1.47"
|
|
tokio-postgres = "0.7"
|
|
tokio-stream = "0.1.17"
|
|
tokio-test = "0.4.4"
|
|
tokio-tun = "0.11.5"
|
|
tokio-rustls = "0.26"
|
|
tokio-smoltcp = "0.5"
|
|
tokio-tungstenite = { version = "0.20.1" }
|
|
tokio-util = "0.7.15"
|
|
toml = "0.8.22"
|
|
tower = "0.5.2"
|
|
tower-http = "0.6.6"
|
|
tracing = "0.1.41"
|
|
tracing-log = "0.2"
|
|
tracing-opentelemetry = "0.32.1"
|
|
tracing-subscriber = "0.3.20"
|
|
tracing-indicatif = "0.3.9"
|
|
tracing-test = "0.2.5"
|
|
ts-rs = "12.0.1"
|
|
tungstenite = { version = "0.20.1", default-features = false }
|
|
typed-builder = "0.23.0"
|
|
uniffi = "0.29.2"
|
|
uniffi_build = "0.29.0"
|
|
url = "2.5"
|
|
utoipa = "5.2"
|
|
utoipa-swagger-ui = "8.1"
|
|
utoipauto = "0.2"
|
|
uuid = "1.19.0"
|
|
vergen = { version = "=8.3.1", default-features = false }
|
|
vergen-gitcl = { version = "1.0.8", default-features = false }
|
|
walkdir = "2"
|
|
x25519-dalek = "2.0.0"
|
|
zeroize = "1.7.0"
|
|
|
|
prometheus = { version = "0.14.0" }
|
|
|
|
|
|
# libcrux
|
|
libcrux-kem = "0.0.7"
|
|
libcrux-ecdh = "0.0.6"
|
|
libcrux-curve25519 = "0.0.6"
|
|
libcrux-chacha20poly1305 = "0.0.7"
|
|
libcrux-psq = "0.0.8"
|
|
libcrux-ml-kem = "0.0.8"
|
|
libcrux-sha3 = "0.0.8"
|
|
libcrux-traits = "0.0.6"
|
|
|
|
# Workspace dep definitions required by crates.io publication - we need a workspace version since `cargo workspaces` doesn't work with path imports from crate manifests
|
|
nym-api-requests = { version = "1.20.4", path = "nym-api/nym-api-requests" }
|
|
nym-authenticator-requests = { version = "1.20.4", path = "common/authenticator-requests" }
|
|
nym-async-file-watcher = { version = "1.20.4", path = "common/async-file-watcher" }
|
|
nym-authenticator-client = { version = "1.20.4", path = "nym-authenticator-client" }
|
|
nym-bandwidth-controller = { version = "1.20.4", path = "common/bandwidth-controller" }
|
|
nym-bin-common = { version = "1.20.4", path = "common/bin-common" }
|
|
nym-cache = { version = "1.20.4", path = "common/nym-cache" }
|
|
nym-client-core = { version = "1.20.4", path = "common/client-core", default-features = false }
|
|
nym-client-core-config-types = { version = "1.20.4", path = "common/client-core/config-types" }
|
|
nym-client-core-gateways-storage = { version = "1.20.4", path = "common/client-core/gateways-storage" }
|
|
nym-client-core-surb-storage = { version = "1.20.4", path = "common/client-core/surb-storage" }
|
|
nym-client-websocket-requests = { version = "1.20.4", path = "clients/native/websocket-requests" }
|
|
nym-common = { version = "1.20.4", path = "common/nym-common" }
|
|
nym-compact-ecash = { version = "1.20.4", path = "common/nym_offline_compact_ecash" }
|
|
nym-config = { version = "1.20.4", path = "common/config" }
|
|
nym-contracts-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/contracts-common" }
|
|
nym-coconut-dkg-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/coconut-dkg" }
|
|
nym-credential-storage = { version = "1.20.4", path = "common/credential-storage" }
|
|
nym-credential-utils = { version = "1.20.4", path = "common/credential-utils" }
|
|
nym-credential-proxy-lib = { version = "1.20.4", path = "common/credential-proxy" }
|
|
nym-credentials = { version = "1.20.4", path = "common/credentials", default-features = false }
|
|
nym-credentials-interface = { version = "1.20.4", path = "common/credentials-interface" }
|
|
nym-credential-proxy-requests = { version = "1.20.4", path = "nym-credential-proxy/nym-credential-proxy-requests", default-features = false }
|
|
nym-credential-verification = { version = "1.20.4", path = "common/credential-verification" }
|
|
nym-crypto = { version = "1.20.4", path = "common/crypto", default-features = false }
|
|
nym-dkg = { version = "1.20.4", path = "common/dkg" }
|
|
nym-ecash-contract-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/ecash-contract" }
|
|
nym-ecash-signer-check = { version = "1.20.4", path = "common/ecash-signer-check" }
|
|
nym-ecash-signer-check-types = { version = "1.20.4", path = "common/ecash-signer-check-types" }
|
|
nym-ecash-time = { version = "1.20.4", path = "common/ecash-time" }
|
|
nym-exit-policy = { version = "1.20.4", path = "common/exit-policy" }
|
|
nym-ffi-shared = { version = "1.20.4", path = "sdk/ffi/shared" }
|
|
nym-gateway-client = { version = "1.20.4", path = "common/client-libs/gateway-client", default-features = false }
|
|
nym-gateway-probe = { version = "1.18.0", path = "nym-gateway-probe" }
|
|
nym-gateway-requests = { version = "1.20.4", path = "common/gateway-requests" }
|
|
nym-gateway-storage = { version = "1.20.4", path = "common/gateway-storage" }
|
|
nym-gateway-stats-storage = { version = "1.20.4", path = "common/gateway-stats-storage" }
|
|
nym-group-contract-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/group-contract" }
|
|
nym-http-api-client = { version = "1.20.4", path = "common/http-api-client" }
|
|
nym-http-api-client-macro = { version = "1.20.4", path = "common/http-api-client-macro" }
|
|
nym-http-api-common = { version = "1.20.4", path = "common/http-api-common", default-features = false }
|
|
nym-id = { version = "1.20.4", path = "common/nym-id" }
|
|
nym-ip-packet-client = { version = "1.20.4", path = "nym-ip-packet-client" }
|
|
nym-ip-packet-requests = { version = "1.20.4", path = "common/ip-packet-requests" }
|
|
nym-lp = { version = "1.20.4", path = "common/nym-lp" }
|
|
nym-kkt = { version = "0.1.0", path = "common/nym-kkt" }
|
|
nym-kkt-ciphersuite = { version = "1.20.4", path = "common/nym-kkt-ciphersuite" }
|
|
nym-kkt-context = { version = "1.20.4", path = "common/nym-kkt-context" }
|
|
nym-metrics = { version = "1.20.4", path = "common/nym-metrics" }
|
|
nym-mixnet-client = { version = "1.20.4", path = "common/client-libs/mixnet-client" }
|
|
nym-mixnet-contract-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/mixnet-contract" }
|
|
nym-multisig-contract-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/multisig-contract" }
|
|
nym-network-defaults = { version = "1.20.4", path = "common/network-defaults" }
|
|
nym-node-tester-utils = { version = "1.20.4", path = "common/node-tester-utils" }
|
|
nym-noise = { version = "1.20.4", path = "common/nymnoise" }
|
|
nym-noise-keys = { version = "1.20.4", path = "common/nymnoise/keys" }
|
|
nym-nonexhaustive-delayqueue = { version = "1.20.4", path = "common/nonexhaustive-delayqueue" }
|
|
nym-node-requests = { version = "1.20.4", path = "nym-node/nym-node-requests", default-features = false }
|
|
nym-node-metrics = { version = "1.20.4", path = "nym-node/nym-node-metrics" }
|
|
nym-ordered-buffer = { version = "1.20.4", path = "common/socks5/ordered-buffer" }
|
|
nym-outfox = { version = "1.20.4", path = "nym-outfox" }
|
|
nym-registration-common = { version = "1.20.4", path = "common/registration" }
|
|
nym-pemstore = { version = "1.20.4", path = "common/pemstore" }
|
|
nym-performance-contract-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/nym-performance-contract" }
|
|
nym-sdk = { version = "1.20.4", path = "sdk/rust/nym-sdk" }
|
|
nym-serde-helpers = { version = "1.20.4", path = "common/serde-helpers" }
|
|
nym-service-providers-common = { version = "1.20.4", path = "service-providers/common" }
|
|
nym-service-provider-requests-common = { version = "1.20.4", path = "common/service-provider-requests-common" }
|
|
nym-socks5-client-core = { version = "1.20.4", path = "common/socks5-client-core" }
|
|
nym-socks5-proxy-helpers = { version = "1.20.4", path = "common/socks5/proxy-helpers" }
|
|
nym-socks5-requests = { version = "1.20.4", path = "common/socks5/requests" }
|
|
nym-sphinx = { version = "1.20.4", path = "common/nymsphinx" }
|
|
nym-sphinx-acknowledgements = { version = "1.20.4", path = "common/nymsphinx/acknowledgements" }
|
|
nym-sphinx-addressing = { version = "1.20.4", path = "common/nymsphinx/addressing" }
|
|
nym-sphinx-anonymous-replies = { version = "1.20.4", path = "common/nymsphinx/anonymous-replies" }
|
|
nym-sphinx-chunking = { version = "1.20.4", path = "common/nymsphinx/chunking" }
|
|
nym-sphinx-cover = { version = "1.20.4", path = "common/nymsphinx/cover" }
|
|
nym-sphinx-forwarding = { version = "1.20.4", path = "common/nymsphinx/forwarding" }
|
|
nym-sphinx-framing = { version = "1.20.4", path = "common/nymsphinx/framing" }
|
|
nym-sphinx-params = { version = "1.20.4", path = "common/nymsphinx/params" }
|
|
nym-sphinx-routing = { version = "1.20.4", path = "common/nymsphinx/routing" }
|
|
nym-sphinx-types = { version = "1.20.4", path = "common/nymsphinx/types" }
|
|
nym-statistics-common = { version = "1.20.4", path = "common/statistics" }
|
|
nym-store-cipher = { version = "1.20.4", path = "common/store-cipher" }
|
|
nym-task = { version = "1.20.4", path = "common/task" }
|
|
nym-tun = { version = "1.20.4", path = "common/tun" }
|
|
nym-test-utils = { version = "1.20.4", path = "common/test-utils" }
|
|
nym-ticketbooks-merkle = { version = "1.20.4", path = "common/ticketbooks-merkle" }
|
|
nym-topology = { version = "1.20.4", path = "common/topology" }
|
|
nym-types = { version = "1.20.4", path = "common/types" }
|
|
nym-upgrade-mode-check = { version = "1.20.4", path = "common/upgrade-mode-check" }
|
|
nym-validator-client = { version = "1.20.4", path = "common/client-libs/validator-client", default-features = false }
|
|
nym-vesting-contract-common = { version = "1.20.4", path = "common/cosmwasm-smart-contracts/vesting-contract" }
|
|
nym-verloc = { version = "1.20.4", path = "common/verloc" }
|
|
nym-wireguard = { version = "1.20.4", path = "common/wireguard" }
|
|
nym-wireguard-types = { version = "1.20.4", path = "common/wireguard-types" }
|
|
nym-wireguard-private-metadata-shared = { version = "1.20.4", path = "common/wireguard-private-metadata/shared" }
|
|
nym-wireguard-private-metadata-client = { version = "1.20.4", path = "common/wireguard-private-metadata/client" }
|
|
nym-wireguard-private-metadata-server = { version = "1.20.4", path = "common/wireguard-private-metadata/server" }
|
|
nym-sqlx-pool-guard = { version = "1.2.0", path = "nym-sqlx-pool-guard" }
|
|
nym-wasm-client-core = { version = "1.20.4", path = "common/wasm/client-core" }
|
|
nym-wasm-storage = { version = "1.20.4", path = "common/wasm/storage" }
|
|
nym-wasm-utils = { version = "1.20.4", path = "common/wasm/utils", default-features = false }
|
|
nyxd-scraper-shared = { version = "1.20.4", path = "common/nyxd-scraper-shared" }
|
|
|
|
# coconut/DKG related
|
|
# unfortunately until https://github.com/zkcrypto/nym-bls12_381-fork/issues/10 is resolved, we have to rely on the fork
|
|
# as we need to be able to serialize Gt so that we could create the lookup table for baby-step-giant-step algorithm
|
|
# plus to make our live easier we need serde support from https://github.com/zkcrypto/nym-bls12_381-fork/pull/125
|
|
nym-bls12_381-fork = { version = "0.8.0-forked", default-features = false }
|
|
group = { version = "0.13.0", default-features = false }
|
|
ff = { version = "0.13.1", default-features = false }
|
|
subtle = "2.5.0"
|
|
|
|
# cosmwasm-related
|
|
cosmwasm-schema = "=2.2.2"
|
|
cosmwasm-std = "=2.2.2"
|
|
# same version as used by cosmwasm
|
|
cw-utils = "=2.0.0"
|
|
cw-storage-plus = "=2.0.0"
|
|
cw2 = { version = "=2.0.0" }
|
|
cw3 = { version = "=2.0.0" }
|
|
cw4 = { version = "=2.0.0" }
|
|
cw-controllers = { version = "=2.0.0" }
|
|
cw-multi-test = "=2.3.2"
|
|
|
|
# cosmrs-related
|
|
bip32 = { version = "0.5.3", default-features = false }
|
|
|
|
|
|
cosmrs = { version = "0.22.0" }
|
|
cosmos-sdk-proto = { version = "0.27.0" }
|
|
ibc-proto = { version = "0.52.0" }
|
|
tendermint = "0.40.4"
|
|
tendermint-rpc = "0.40.4"
|
|
prost = { version = "0.13", default-features = false }
|
|
|
|
# wasm-related dependencies
|
|
gloo-utils = "0.2.0"
|
|
gloo-net = "0.6.0"
|
|
gloo-timers = "0.3.0"
|
|
|
|
indexed_db_futures = "0.6.4"
|
|
js-sys = "0.3.76"
|
|
serde-wasm-bindgen = "0.6.5"
|
|
tsify = "0.4.5"
|
|
tokio_with_wasm = { version = "0.8.7" }
|
|
wasm-bindgen = "0.2.99"
|
|
wasm-bindgen-futures = "0.4.49"
|
|
wasm-bindgen-test = "0.3.49"
|
|
wasmtimer = "0.4.1"
|
|
webpki-roots = "0.26"
|
|
web-sys = "0.3.76"
|
|
|
|
# for local development:
|
|
#[patch.crates-io]
|
|
#sphinx-packet = { path = "../sphinx" }
|
|
|
|
# Profile settings for individual crates
|
|
|
|
# Compile-time verified queries do quite a bit of work at compile time. Incremental
|
|
# actions like cargo check and cargo build can be significantly faster when
|
|
# using an optimized build
|
|
[profile.dev.package.sqlx-macros]
|
|
opt-level = 3
|
|
|
|
[profile.release.package.nym-client-wasm]
|
|
# lto = true
|
|
opt-level = 'z'
|
|
|
|
[profile.release.package.nym-node-tester-wasm]
|
|
# lto = true
|
|
opt-level = 'z'
|
|
|
|
# Commented out since the crate is also commented out from the inclusion in the
|
|
# workspace above. We should uncomment this if we re-include it in the
|
|
# workspace
|
|
#[profile.release.package.nym-wasm-sdk]
|
|
## lto = true
|
|
#opt-level = 'z'
|
|
|
|
[profile.release.package.mix-fetch-wasm]
|
|
# lto = true
|
|
opt-level = 'z'
|
|
|
|
[workspace.lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
|
|
|
|
[workspace.lints.clippy]
|
|
suspicious = "deny"
|
|
complexity = "deny"
|
|
perf = "deny"
|
|
style = "deny"
|
|
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
todo = "deny"
|
|
dbg_macro = "deny"
|
|
exit = "deny"
|
|
panic = "deny"
|
|
unimplemented = "deny"
|
|
unreachable = "deny"
|