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
98 lines
3.0 KiB
TOML
98 lines
3.0 KiB
TOML
[package]
|
|
name = "nym-gateway-client"
|
|
version.workspace = true
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
license.workspace = true
|
|
description = "Functions and types for Nym client <> Gateway connections"
|
|
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]
|
|
# TODO: (for this and other crates), similarly to 'tokio', import only required "futures" modules rather than
|
|
# the entire crate
|
|
futures = { workspace = true }
|
|
tracing = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true }
|
|
rand = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros"] }
|
|
si-scale = { workspace = true }
|
|
time.workspace = true
|
|
zeroize.workspace = true
|
|
|
|
# internal
|
|
nym-bandwidth-controller = { workspace = true }
|
|
nym-credentials = { workspace = true }
|
|
nym-credential-storage = { workspace = true }
|
|
nym-credentials-interface = { workspace = true }
|
|
nym-crypto = { workspace = true }
|
|
nym-gateway-requests = { workspace = true }
|
|
nym-http-api-client = { workspace = true }
|
|
nym-network-defaults = { workspace = true }
|
|
nym-sphinx = { workspace = true }
|
|
nym-statistics-common = { workspace = true }
|
|
nym-pemstore = { workspace = true }
|
|
nym-validator-client = { workspace = true, default-features = false }
|
|
nym-task = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
|
|
|
|
[dependencies.tungstenite]
|
|
workspace = true
|
|
default-features = false
|
|
|
|
# non-wasm-only dependencies
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio]
|
|
workspace = true
|
|
features = ["macros", "rt", "net", "sync", "time"]
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-stream]
|
|
workspace = true
|
|
features = ["net", "sync", "time"]
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-tungstenite]
|
|
workspace = true
|
|
features = ["rustls-tls-webpki-roots"]
|
|
|
|
# wasm-only dependencies
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
|
|
workspace = true
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
|
|
workspace = true
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.nym-wasm-utils]
|
|
workspace = true
|
|
features = ["websocket"]
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.gloo-utils]
|
|
workspace = true
|
|
|
|
# only import it in wasm. Prefer proper tokio timer in non-wasm
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasmtimer]
|
|
workspace = true
|
|
features = ["tokio"]
|
|
|
|
# this is due to tungstenite using `rand` 0.8 and associated changes in `getrandom` crate
|
|
# which now does not support wasm32-unknown-unknown target by default.
|
|
# using the below, we assume our client is going to be run in environment
|
|
# containing javascript (such as a web browser or node.js).
|
|
# refer to https://docs.rs/getrandom/0.2.2/getrandom/#webassembly-support for more information
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.getrandom]
|
|
workspace = true
|
|
features = ["js"]
|
|
|
|
[dev-dependencies]
|
|
# for tests
|
|
#url = "2.1"
|
|
|
|
[features]
|
|
wasm = []
|
|
|
|
[lints]
|
|
workspace = true
|