48332a1069
On every cargo command we have the set warnings: warning: /home/jon/src/nym/nym/common/dkg/Cargo.toml: `default-features` is ignored for bls12_381, since `default-features` was not specified for `workspace.dependencies.bls12_381`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/dkg/Cargo.toml: `default-features` is ignored for ff, since `default-features` was not specified for `workspace.dependencies.ff`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/dkg/Cargo.toml: `default-features` is ignored for group, since `default-features` was not specified for `workspace.dependencies.group`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/client-libs/validator-client/Cargo.toml: `default-features` is ignored for bip32, since `default-features` was not specified for `workspace.dependencies.bip32`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/client-libs/validator-client/Cargo.toml: `default-features` is ignored for prost, since `default-features` was not specified for `workspace.dependencies.prost`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/credentials-interface/Cargo.toml: `default-features` is ignored for bls12_381, since `default-features` was not specified for `workspace.dependencies.bls12_381`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/credentials/Cargo.toml: `default-features` is ignored for bls12_381, since `default-features` was not specified for `workspace.dependencies.bls12_381`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/nymcoconut/Cargo.toml: `default-features` is ignored for bls12_381, since `default-features` was not specified for `workspace.dependencies.bls12_381`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/nymcoconut/Cargo.toml: `default-features` is ignored for ff, since `default-features` was not specified for `workspace.dependencies.ff`, this could become a hard error in the future warning: /home/jon/src/nym/nym/common/nymcoconut/Cargo.toml: `default-features` is ignored for group, since `default-features` was not specified for `workspace.dependencies.group`, this could become a hard error in the future This commit adds default-features = false to the workspace dependencies to fix these. An alternative way would be to remove `default-features = false` in the crates, but I assume these were put there for a good reason. Also we might have other crates outside of the main workspace that depends on these crates having default features disabled.
366 lines
9.3 KiB
TOML
366 lines
9.3 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/bandwidth-controller",
|
|
"common/bin-common",
|
|
"common/client-core",
|
|
"common/client-core/config-types",
|
|
"common/client-core/surb-storage",
|
|
"common/client-core/gateways-storage",
|
|
"common/client-libs/gateway-client",
|
|
"common/client-libs/mixnet-client",
|
|
"common/client-libs/validator-client",
|
|
"common/commands",
|
|
"common/config",
|
|
"common/cosmwasm-smart-contracts/coconut-bandwidth-contract",
|
|
"common/cosmwasm-smart-contracts/coconut-dkg",
|
|
"common/cosmwasm-smart-contracts/contracts-common",
|
|
# "common/cosmwasm-smart-contracts/ephemera",
|
|
"common/cosmwasm-smart-contracts/group-contract",
|
|
"common/cosmwasm-smart-contracts/mixnet-contract",
|
|
"common/cosmwasm-smart-contracts/multisig-contract",
|
|
"common/cosmwasm-smart-contracts/vesting-contract",
|
|
"common/country-group",
|
|
"common/credential-storage",
|
|
"common/credentials",
|
|
"common/credential-utils",
|
|
"common/credentials-interface",
|
|
"common/crypto",
|
|
"common/dkg",
|
|
"common/execute",
|
|
"common/exit-policy",
|
|
"common/http-api-client",
|
|
"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/nymcoconut",
|
|
"common/nym-id",
|
|
"common/nym-metrics",
|
|
"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",
|
|
"common/pemstore",
|
|
"common/socks5-client-core",
|
|
"common/socks5/proxy-helpers",
|
|
"common/socks5/requests",
|
|
"common/statistics",
|
|
"common/store-cipher",
|
|
"common/task",
|
|
"common/topology",
|
|
"common/tun",
|
|
"common/types",
|
|
"common/wasm/client-core",
|
|
"common/wasm/storage",
|
|
"common/wasm/utils",
|
|
"common/wireguard",
|
|
"common/wireguard-types",
|
|
"explorer-api",
|
|
"explorer-api/explorer-api-requests",
|
|
"explorer-api/explorer-client",
|
|
"gateway",
|
|
"gateway/gateway-requests",
|
|
"integrations/bity",
|
|
"mixnode",
|
|
"sdk/lib/socks5-listener",
|
|
"sdk/rust/nym-sdk",
|
|
"service-providers/common",
|
|
"service-providers/ip-packet-router",
|
|
"service-providers/network-requester",
|
|
"service-providers/network-statistics",
|
|
"nym-api",
|
|
"nym-browser-extension/storage",
|
|
"nym-api/nym-api-requests",
|
|
"nym-node",
|
|
"nym-node/nym-node-http-api",
|
|
"nym-node/nym-node-requests",
|
|
"nym-outfox",
|
|
"nym-validator-rewarder",
|
|
"tools/internal/ssl-inject",
|
|
# "tools/internal/sdk-version-bump",
|
|
"tools/nym-cli",
|
|
"tools/nym-id-cli",
|
|
"tools/nym-nr-query",
|
|
"tools/nymvisor",
|
|
"tools/ts-rs-cli",
|
|
"wasm/client",
|
|
# "wasm/full-nym-wasm",
|
|
"wasm/mix-fetch",
|
|
"wasm/node-tester",
|
|
"wasm/zknym-lib",
|
|
]
|
|
|
|
default-members = [
|
|
"clients/native",
|
|
"clients/socks5",
|
|
"gateway",
|
|
"service-providers/network-requester",
|
|
"service-providers/network-statistics",
|
|
"mixnode",
|
|
"nym-api",
|
|
"tools/nymvisor",
|
|
"explorer-api",
|
|
"nym-validator-rewarder",
|
|
"nym-node"
|
|
]
|
|
|
|
exclude = [
|
|
"explorer",
|
|
"contracts",
|
|
"nym-wallet",
|
|
"nym-connect/mobile/src-tauri",
|
|
"nym-connect/desktop",
|
|
"nym-vpn/ui/src-tauri",
|
|
"cpu-cycles",
|
|
"sdk/ffi/cpp",
|
|
]
|
|
|
|
[workspace.package]
|
|
authors = ["Nym Technologies SA"]
|
|
repository = "https://github.com/nymtech/nym"
|
|
homepage = "https://nymtech.net"
|
|
documentation = "https://nymtech.net"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
|
|
[workspace.dependencies]
|
|
addr = "0.15.6"
|
|
aes = "0.8.1"
|
|
aes-gcm = "0.10.1"
|
|
anyhow = "1.0.71"
|
|
argon2 = "0.5.0"
|
|
async-trait = "0.1.68"
|
|
axum = "0.7.5"
|
|
axum-extra = "0.9.3"
|
|
base64 = "0.21.4"
|
|
bincode = "1.3.3"
|
|
bip39 = { version = "2.0.0", features = ["zeroize"] }
|
|
bitvec = "1.0.0"
|
|
blake3 = "1.3.1"
|
|
bs58 = "0.5.1"
|
|
bytecodec = "0.4.15"
|
|
bytes = "1.5.0"
|
|
cargo_metadata = "0.18.1"
|
|
celes = "2.4.0"
|
|
cfg-if = "1.0.0"
|
|
chacha20 = "0.9.0"
|
|
chacha20poly1305 = "0.10.1"
|
|
chrono = "0.4.31"
|
|
cipher = "0.4.3"
|
|
clap = "4.4.7"
|
|
clap_complete = "4.0"
|
|
clap_complete_fig = "4.0"
|
|
colored = "2.0"
|
|
comfy-table = "6.0.0"
|
|
console-subscriber = "0.1.1"
|
|
console_error_panic_hook = "0.1"
|
|
const-str = "0.5.6"
|
|
const_format = "0.2.32"
|
|
criterion = "0.4"
|
|
csv = "1.3.0"
|
|
ctr = "0.9.1"
|
|
cupid = "0.6.1"
|
|
curve25519-dalek = "4.1"
|
|
dashmap = "5.5.3"
|
|
defguard_wireguard_rs = "0.4.2"
|
|
doc-comment = "0.3"
|
|
dotenvy = "0.15.6"
|
|
ecdsa = "0.16"
|
|
ed25519-dalek = "2.1"
|
|
etherparse = "0.13.0"
|
|
eyre = "0.6.9"
|
|
flate2 = "1.0.28"
|
|
futures = "0.3.28"
|
|
generic-array = "0.14.7"
|
|
getrandom = "0.2.10"
|
|
getset = "0.1.1"
|
|
handlebars = "3.5.5"
|
|
headers = "0.4.0"
|
|
hex = "0.4.3"
|
|
hex-literal = "0.3.3"
|
|
hkdf = "0.12.3"
|
|
hmac = "0.12.1"
|
|
httpcodec = "0.2.3"
|
|
humantime = "2.1.0"
|
|
humantime-serde = "1.1.1"
|
|
http = "1"
|
|
hyper = "1.3.1"
|
|
indexed_db_futures = "0.3.0"
|
|
inquire = "0.6.2"
|
|
ip_network = "0.4.1"
|
|
isocountry = "0.3.2"
|
|
k256 = "0.13"
|
|
lazy_static = "1.4.0"
|
|
ledger-transport = "0.10.0"
|
|
ledger-transport-hid = "0.10.0"
|
|
log = "0.4"
|
|
maxminddb = "0.23.0"
|
|
mime = "0.3.17"
|
|
nix = "0.27.1"
|
|
notify = "5.1.0"
|
|
okapi = "0.7.0"
|
|
once_cell = "1.7.2"
|
|
opentelemetry = "0.19.0"
|
|
opentelemetry-jaeger = "0.18.0"
|
|
parking_lot = "0.12.1"
|
|
pem = "0.8"
|
|
pin-project = "1.0"
|
|
pretty_env_logger = "0.4.0"
|
|
publicsuffix = "2.2.3"
|
|
quote = "1"
|
|
rand = "0.8.5"
|
|
rand-07 = "0.7.3"
|
|
rand_chacha_02 = "0.2"
|
|
rand_core = "0.6.3"
|
|
rand_distr = "0.4"
|
|
rand_pcg = "0.3.1"
|
|
rand_seeder = "0.2.3"
|
|
rayon = "1.5.1"
|
|
regex = "1.8.4"
|
|
reqwest = { version = "0.12.4", default-features = false }
|
|
rocket = "0.5.0"
|
|
rocket_cors = "0.6.0"
|
|
rocket_okapi = "0.8.0"
|
|
safer-ffi = "0.1.4"
|
|
schemars = "0.8.1"
|
|
serde = "1.0.152"
|
|
serde_bytes = "0.11.6"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0.91"
|
|
serde_repr = "0.1"
|
|
serde_with = "3.4.0"
|
|
serde_yaml = "0.9.25"
|
|
si-scale = "0.2.2"
|
|
sphinx-packet = "0.1.1"
|
|
sqlx = "0.6.3"
|
|
strum = "0.25"
|
|
subtle-encoding = "0.5"
|
|
syn = "1"
|
|
tap = "1.0.1"
|
|
tar = "0.4.40"
|
|
tempfile = "3.5.0"
|
|
thiserror = "1.0.48"
|
|
time = "0.3.30"
|
|
tokio = "1.33.0"
|
|
tokio-stream = "0.1.14"
|
|
tokio-test = "0.4.2"
|
|
tokio-tungstenite = { version = "0.20.1" }
|
|
tokio-util = "0.7.10"
|
|
tower = "0.4.13"
|
|
tower-http = "0.5.2"
|
|
tracing = "0.1.37"
|
|
tracing-opentelemetry = "0.19.0"
|
|
tracing-subscriber = "0.3.16"
|
|
tracing-tree = "0.2.2"
|
|
ts-rs = "7.0.0"
|
|
tungstenite = { version = "0.20.1", default-features = false }
|
|
url = "2.4"
|
|
utoipa = "4.2.0"
|
|
utoipa-swagger-ui = "6.0.0"
|
|
vergen = { version = "=8.2.6", default-features = false }
|
|
walkdir = "2"
|
|
wasm-bindgen-test = "0.3.36"
|
|
zeroize = "1.6.0"
|
|
|
|
prometheus = { version = "0.13.0" }
|
|
|
|
# coconut/DKG related
|
|
# unfortunately until https://github.com/zkcrypto/bls12_381/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
|
|
bls12_381 = { git = "https://github.com/jstuczyn/bls12_381", default-features = false, branch = "feature/gt-serialization-0.8.0" }
|
|
group = { version = "0.13.0", default-features = false }
|
|
ff = { version = "0.13.0", default-features = false }
|
|
|
|
# cosmwasm-related
|
|
cosmwasm-derive = "=1.4.3"
|
|
cosmwasm-schema = "=1.4.3"
|
|
cosmwasm-std = "=1.4.3"
|
|
# use 0.5.0 as that's the version used by cosmwasm-std 1.4.3
|
|
# (and ideally we don't want to pull the same dependency twice)
|
|
serde-json-wasm = "=0.5.0"
|
|
cosmwasm-storage = "=1.4.3"
|
|
# same version as used by cosmwasm
|
|
cw-utils = "=1.0.1"
|
|
cw-storage-plus = "=1.2.0"
|
|
cw2 = { version = "=1.1.2" }
|
|
cw3 = { version = "=1.1.2" }
|
|
cw4 = { version = "=1.1.2" }
|
|
cw-controllers = { version = "=1.1.0" }
|
|
|
|
# cosmrs-related
|
|
bip32 = { version = "0.5.1", default-features = false }
|
|
|
|
# temporarily using a fork again (yay.) because we need staking and slashing support
|
|
cosmrs = { git = "https://github.com/jstuczyn/cosmos-rust", branch = "nym-temp/all-validator-features" }
|
|
#cosmrs = { git = "https://github.com/jstuczyn/cosmos-rust", branch = "nym-temp/all-validator-features" } # unfortuntely we need a fork by yours truly to get the staking support
|
|
tendermint = "0.34" # same version as used by cosmrs
|
|
tendermint-rpc = "0.34" # same version as used by cosmrs
|
|
prost = { version = "0.12", default-features = false }
|
|
|
|
# wasm-related dependencies
|
|
gloo-utils = "0.2.0"
|
|
gloo-net = "0.5.0"
|
|
js-sys = "0.3.69"
|
|
serde-wasm-bindgen = "0.6.5"
|
|
tsify = "0.4.5"
|
|
wasm-bindgen = "0.2.92"
|
|
wasm-bindgen-futures = "0.4.39"
|
|
wasmtimer = "0.2.0"
|
|
web-sys = "0.3.69"
|
|
|
|
|
|
# Profile settings for individual crates
|
|
|
|
[profile.release.package.nym-socks5-listener]
|
|
strip = true
|
|
codegen-units = 1
|
|
|
|
[profile.release.package.nym-client-wasm]
|
|
# lto = true
|
|
opt-level = 'z'
|
|
|
|
[profile.release.package.nym-node-tester-wasm]
|
|
# lto = true
|
|
opt-level = 'z'
|
|
|
|
[profile.release.package.nym-wasm-sdk]
|
|
# lto = true
|
|
opt-level = 'z'
|
|
|
|
[profile.release.package.mix-fetch-wasm]
|
|
# lto = true
|
|
opt-level = 'z'
|