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
138 lines
4.3 KiB
TOML
138 lines
4.3 KiB
TOML
[package]
|
|
name = "nym-client-core"
|
|
version.workspace = true
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.85"
|
|
license.workspace = true
|
|
description = "Crate containing core client functionality and configs, used by all other Nym client implentations"
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.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 }
|
|
clap = { workspace = true, optional = true }
|
|
cfg-if = { workspace = true }
|
|
comfy-table = { workspace = true, optional = true }
|
|
futures = { workspace = true }
|
|
humantime = { 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 }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true, features = ["serde"] }
|
|
time = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "macros"] }
|
|
tracing = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
|
|
# internal
|
|
nym-id = { workspace = true }
|
|
nym-bandwidth-controller = { workspace = true }
|
|
nym-crypto = { workspace = true }
|
|
nym-gateway-client = { workspace = true }
|
|
nym-gateway-requests = { workspace = true }
|
|
nym-http-api-client = { workspace = true, features = ["network-defaults"] }
|
|
nym-nonexhaustive-delayqueue = { workspace = true }
|
|
nym-sphinx = { workspace = true }
|
|
nym-statistics-common = { workspace = true }
|
|
nym-pemstore = { workspace = true }
|
|
nym-topology = { workspace = true, features = ["persistence"] }
|
|
nym-validator-client = { workspace = true }
|
|
nym-task = { workspace = true }
|
|
nym-credentials-interface = { workspace = true }
|
|
nym-credential-storage = { workspace = true }
|
|
nym-network-defaults = { workspace = true }
|
|
nym-client-core-config-types = { workspace = true, features = [
|
|
"disk-persistence",
|
|
] }
|
|
nym-client-core-surb-storage = { workspace = true }
|
|
nym-client-core-gateways-storage = { workspace = true }
|
|
nym-ecash-time = { workspace = true }
|
|
nym-mixnet-contract-common = { workspace = true }
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies]
|
|
nym-mixnet-client = { workspace = true }
|
|
|
|
### 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]
|
|
workspace = true
|
|
features = ["futures"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.nym-wasm-utils]
|
|
workspace = true
|
|
features = ["websocket"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.time]
|
|
workspace = true
|
|
features = ["wasm-bindgen"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.tokio_with_wasm]
|
|
workspace = true
|
|
features = ["full"]
|
|
|
|
[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 = []
|
|
|
|
[lints]
|
|
workspace = true
|