-
Notifications
You must be signed in to change notification settings - Fork 165
/
Cargo.toml
69 lines (64 loc) · 1.68 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "kaspa-wasm"
description = "KASPA WASM bindings"
rust-version.workspace = true
version.workspace = true
edition.workspace = true
authors.workspace = true
include.workspace = true
repository.workspace = true
# wasm-pack requires this value to be a string
# (it can not be derived from the workspace)
license = "ISC"
[lib]
crate-type = ["cdylib"]
[dependencies]
cfg-if.workspace = true
js-sys.workspace = true
kaspa-addresses.workspace = true
kaspa-bip32.workspace = true
kaspa-consensus-core.workspace = true
kaspa-consensus-wasm.workspace = true
kaspa-core.workspace = true
kaspa-math.workspace = true
kaspa-pow.workspace = true
kaspa-txscript.workspace = true
kaspa-rpc-core.workspace = true
kaspa-utils.workspace = true
kaspa-wasm-core.workspace = true
kaspa-wallet-core.workspace = true
kaspa-wallet-keys.workspace = true
kaspa-wrpc-client.workspace = true
kaspa-wrpc-wasm.workspace = true
num.workspace = true
wasm-bindgen.workspace = true
workflow-log.workspace = true
workflow-core.workspace = true
workflow-wasm.workspace = true
[features]
wasm32-sdk = [
"kaspa-wallet-core/wasm32-sdk",
"kaspa-pow/wasm32-sdk",
"kaspa-txscript/wasm32-sdk",
]
wasm32-core = [
"kaspa-wallet-core/wasm32-core",
"kaspa-pow/wasm32-sdk",
"kaspa-txscript/wasm32-sdk",
]
wasm32-rpc = [
"kaspa-consensus-core/wasm32-sdk",
"kaspa-consensus-wasm/wasm32-sdk",
"kaspa-wrpc-client/wasm32-sdk",
"kaspa-wrpc-wasm/wasm32-sdk",
]
wasm32-keygen = []
default = []
[package.metadata.docs.rs]
targets = ["wasm32-unknown-unknown"]
[package.metadata.emanate.wasm]
targets = [
{ target = "nodejs", out-dir = "nodejs/kaspa" },
{ target = "web", out-dir = "web/kaspa" }
]
folder = "setup"