cf3fd00350
* - standardise versions for all nym-sdk workspace dependencies - prepend sqlx-pool-guard with 'nym-' * Test remove nym-api from deps * Add oneliner to client_pool doc comments * Add note to commented out docs.rs link in sdk * remove nym-api from script * add publishing file * bring non-binary / contract / tools into workspace version * added more info to publishing.md * make deps workspace version * remove uploaded sphinx-types crate from script * remove erroueously included ignore-defaults * add zeroise to feature * chore: Release * add topology to batch * more cargo versioning * more cargo versioning - wasm utils * more cargo versioning - wasm utils * Add publish=false to manifest for cargo workspaces / crates.io publishing exclusion * remove script now switched to manifest based exclusion * rename import based on rename of contracts-common dep * Making workspace versions for publication + removing unnecessary crates from publication * Remove OOD info from publishing sdk guide * rename contract imports + remove package * temp commit: continuing with removal of path from cargo manifest and replacing with workspace version import for publication * continuing with cargo.toml updates * dryrun only erroring on known version problem crates * remove old published-crates file * Minor comment change * remove default features warning * Additional info on workspace dep comment re publish list * Add missing description to cargo.toml * Fix missing feature flags * Add missing descriptions * Fix remaining path import * Add workspace repo / homepage / documentation links to cargo.toml files * remove workspace version from excluded crate * Remove todo descriptions * Minor comment change * add homepage etc * move from bls git import to nym_bls_fork crate * Modify rest of imports from path to workspace import, excluding binaries * add directory/homepage info * fix cargo fmt * add notes to gitignore * better solution to contracts/ experiment * wasm -> nym_wasm crate renaming * fix fatfinger * add metadata to ecash cargo.toml * stub publishing guide * fix misrevolved netlink- version * Fixes and block publication of rebase re: LP * first pass @ workflows
137 lines
4.4 KiB
TOML
137 lines
4.4 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
[package]
|
|
name = "nym-api"
|
|
license = "GPL-3.0"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition = "2021"
|
|
rust-version.workspace = true
|
|
publish = false
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
bs58 = { workspace = true }
|
|
bip39 = { workspace = true }
|
|
bincode.workspace = true
|
|
console-subscriber = { workspace = true, optional = true } # nym-api needs to be built with RUSTFLAGS="--cfg tokio_unstable"
|
|
cfg-if = { workspace = true }
|
|
clap = { workspace = true, features = ["cargo", "derive", "env"] }
|
|
dashmap = { workspace = true }
|
|
futures = { workspace = true }
|
|
humantime-serde = { workspace = true }
|
|
moka = { workspace = true }
|
|
pin-project = { workspace = true }
|
|
rand = { workspace = true }
|
|
rand_chacha = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
semver = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
time = { workspace = true, features = ["serde-human-readable", "parsing"] }
|
|
tokio = { workspace = true, features = [
|
|
"rt-multi-thread",
|
|
"macros",
|
|
"signal",
|
|
"time",
|
|
] }
|
|
tokio-stream = { workspace = true }
|
|
tokio-util = { workspace = true }
|
|
url = { workspace = true }
|
|
|
|
tendermint = { workspace = true }
|
|
ts-rs = { workspace = true, optional = true }
|
|
|
|
anyhow = { workspace = true }
|
|
|
|
sqlx = { workspace = true, features = [
|
|
"runtime-tokio-rustls",
|
|
"sqlite",
|
|
"macros",
|
|
"migrate",
|
|
"time",
|
|
] }
|
|
|
|
schemars = { workspace = true, features = ["preserve_order"] }
|
|
zeroize = { workspace = true }
|
|
|
|
# for axum server
|
|
axum = { workspace = true, features = ["tokio"] }
|
|
tower-http = { workspace = true, features = ["cors", "trace", "compression-br", "compression-deflate", "compression-gzip", "compression-zstd"] }
|
|
utoipa = { workspace = true, features = ["axum_extras", "time"] }
|
|
utoipauto = { workspace = true }
|
|
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
|
|
tracing = { workspace = true }
|
|
|
|
## internal
|
|
nym-cache = { workspace = true }
|
|
nym-bandwidth-controller = { workspace = true }
|
|
nym-ecash-contract-common = { workspace = true }
|
|
nym-ecash-time = { workspace = true, features = ["expiration"] }
|
|
nym-coconut-dkg-common = { workspace = true }
|
|
nym-compact-ecash = { workspace = true }
|
|
nym-credentials-interface = { workspace = true }
|
|
nym-config = { workspace = true }
|
|
cosmwasm-std = { workspace = true }
|
|
nym-credential-storage = { workspace = true, features = [
|
|
"persistent-storage",
|
|
] }
|
|
nym-credentials = { workspace = true }
|
|
nym-crypto = { workspace = true }
|
|
cw2 = { workspace = true }
|
|
cw3 = { workspace = true }
|
|
cw4 = { workspace = true }
|
|
nym-dkg = { workspace = true, features = ["cw-types"] }
|
|
nym-gateway-client = { workspace = true }
|
|
nym-mixnet-contract-common = { workspace = true, features = ["utoipa"] }
|
|
nym-contracts-common = { workspace = true, features = ["naive_float", "utoipa"] }
|
|
nym-sphinx = { workspace = true }
|
|
nym-pemstore = { workspace = true }
|
|
nym-task = { workspace = true }
|
|
nym-topology = { workspace = true }
|
|
nym-api-requests = { workspace = true }
|
|
nym-validator-client = { workspace = true }
|
|
nym-http-api-client = { workspace = true }
|
|
nym-bin-common = { workspace = true, features = ["output_format", "openapi", "basic_tracing"] }
|
|
nym-node-tester-utils = { workspace = true }
|
|
nym-node-requests = { workspace = true, features = ["client"] }
|
|
nym-types = { workspace = true }
|
|
nym-http-api-common = { workspace = true, features = ["utoipa", "output", "middleware"] }
|
|
nym-serde-helpers = { workspace = true, features = ["date"] }
|
|
nym-ticketbooks-merkle = { workspace = true }
|
|
nym-statistics-common = { workspace = true }
|
|
nym-ecash-signer-check = { workspace = true }
|
|
|
|
|
|
[features]
|
|
no-reward = []
|
|
v2-performance = []
|
|
generate-ts = ["ts-rs"]
|
|
|
|
[build-dependencies]
|
|
anyhow = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
|
sqlx = { workspace = true, features = [
|
|
"runtime-tokio-rustls",
|
|
"sqlite",
|
|
"macros",
|
|
"migrate",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
axum-test = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
cw3 = { workspace = true }
|
|
cw-utils = { workspace = true }
|
|
rand_chacha = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
dotenvy = { workspace = true }
|
|
test-with = { workspace = true, default-features = false }
|
|
|
|
[lints]
|
|
workspace = true
|