adb248dbcc
* make packet statistics wasm-compatible * fixed possible overflow issue in delay controller * updated wasm-client to be compatible with the current network * applied same logic to mixfetch client * removed dead imports * updated versions
44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
[package]
|
|
name = "nym-client-wasm"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>", "Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
version = "1.4.0-rc.0"
|
|
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.76"
|
|
|
|
[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 }
|
|
thiserror = { workspace = true }
|
|
tsify = { workspace = true, features = ["js"] }
|
|
|
|
nym-bin-common = { path = "../../common/bin-common" }
|
|
wasm-client-core = { path = "../../common/wasm/client-core" }
|
|
wasm-utils = { path = "../../common/wasm/utils" }
|
|
|
|
nym-node-tester-utils = { path = "../../common/node-tester-utils", optional = true }
|
|
nym-node-tester-wasm = { path = "../node-tester", optional = true }
|
|
|
|
[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
|