# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.81.0" name = "kaspa-wasm" version = "0.15.0" authors = ["Kaspa developers"] build = false include = [ "src/**/*.rs", "src/**/*.s", "src/**/*.r", "proto/**/*.proto", "benches/**/*.rs", "build.rs", "Cargo.toml", "Cargo.lock", ] autobins = false autoexamples = false autotests = false autobenches = false description = "KASPA WASM bindings" readme = "README.md" license = "ISC" repository = "https://github.com/kaspanet/rusty-kaspa" [package.metadata.docs.rs] targets = ["wasm32-unknown-unknown"] [package.metadata.emanate.wasm] folder = "setup" [[package.metadata.emanate.wasm.targets]] out-dir = "nodejs/kaspa" target = "nodejs" [[package.metadata.emanate.wasm.targets]] out-dir = "web/kaspa" target = "web" [lib] name = "kaspa_wasm" crate-type = ["cdylib"] path = "src/lib.rs" [dependencies.cfg-if] version = "1.0.0" [dependencies.js-sys] version = "0.3.70" [dependencies.kaspa-addresses] version = "0.15.0" [dependencies.kaspa-bip32] version = "0.15.0" [dependencies.kaspa-consensus-core] version = "0.15.0" [dependencies.kaspa-consensus-wasm] version = "0.15.0" [dependencies.kaspa-core] version = "0.15.0" [dependencies.kaspa-math] version = "0.15.0" [dependencies.kaspa-pow] version = "0.15.0" [dependencies.kaspa-rpc-core] version = "0.15.0" [dependencies.kaspa-txscript] version = "0.15.0" [dependencies.kaspa-utils] version = "0.15.0" [dependencies.kaspa-wallet-core] version = "0.15.0" [dependencies.kaspa-wallet-keys] version = "0.15.0" [dependencies.kaspa-wasm-core] version = "0.15.0" [dependencies.kaspa-wrpc-client] version = "0.15.0" [dependencies.kaspa-wrpc-wasm] version = "0.15.0" [dependencies.num] version = "0.4.1" [dependencies.wasm-bindgen] version = "0.2.93" features = ["serde-serialize"] [dependencies.workflow-core] version = "0.18.0" [dependencies.workflow-log] version = "0.18.0" [dependencies.workflow-wasm] version = "0.18.0" [features] default = [] wasm32-core = [ "kaspa-wallet-core/wasm32-core", "kaspa-pow/wasm32-sdk", "kaspa-txscript/wasm32-sdk", ] wasm32-keygen = [] wasm32-rpc = [ "kaspa-consensus-core/wasm32-sdk", "kaspa-consensus-wasm/wasm32-sdk", "kaspa-wrpc-client/wasm32-sdk", "kaspa-wrpc-wasm/wasm32-sdk", ] wasm32-sdk = [ "kaspa-wallet-core/wasm32-sdk", "kaspa-pow/wasm32-sdk", "kaspa-txscript/wasm32-sdk", ]