57 lines
1.7 KiB
TOML
57 lines
1.7 KiB
TOML
[package]
|
|
name = "nym-client-wasm"
|
|
authors = [
|
|
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
|
"Jedrzej Stuczynski <andrew@nymtech.net>",
|
|
]
|
|
version = "1.4.1"
|
|
edition = "2021"
|
|
keywords = ["nym", "sphinx", "wasm", "webassembly", "privacy"]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/nymtech/nym"
|
|
description = "A webassembly client which can be used to interact with the the Nym privacy platform. Wasm is used for Sphinx packet generation."
|
|
rust-version = "1.85"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
futures = { workspace = true }
|
|
js-sys = { workspace = true }
|
|
rand = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
serde-wasm-bindgen = { workspace = true }
|
|
wasm-bindgen = { workspace = true }
|
|
wasm-bindgen-futures = { workspace = true }
|
|
gloo-timers = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
|
tsify = { workspace = true, features = ["js"] }
|
|
web-sys = { workspace = true }
|
|
tokio = { workspace = true, default-features = false, features = ["sync"] }
|
|
|
|
nym-bin-common = { workspace = true }
|
|
nym-wasm-client-core = { workspace = true }
|
|
nym-wasm-utils = { workspace = true }
|
|
nym-gateway-requests = { workspace = true }
|
|
|
|
nym-node-tester-utils = { workspace = true, optional = true }
|
|
|
|
nym-node-tester-wasm = { path = "../node-tester", optional = true }
|
|
|
|
tokio_with_wasm = { workspace = true, features = ["full"] }
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = { workspace = true }
|
|
|
|
[features]
|
|
default = ["node-tester"]
|
|
node-tester = ["nym-node-tester-wasm", "nym-node-tester-utils"]
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = false
|