-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
80 lines (71 loc) · 2.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
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "kaspa-wasm"
description = "KASPA WASM bindings"
rust-version = "1.80.0"
version = "0.14.1"
authors = ["Kaspa developers"]
license = "ISC"
edition = "2021"
repository = "https://github.com/aspectron/kaspa-wasm"
include = [
"src/**/*.rs",
"src/**/*.s",
"src/**/*.r",
"proto/**/*.proto",
"benches/**/*.rs",
"build.rs",
"Cargo.toml",
"Cargo.lock",
]
[lib]
crate-type = ["cdylib"]
[dependencies]
cfg-if = "1.0.0"
js-sys = "0.3.67"
num = "0.4.1"
wasm-bindgen = { version = "0.2.92", features = ["serde-serialize"] }
workflow-log = { version = "0.15.0" }
workflow-core = { version = "0.15.0" }
workflow-wasm = { version = "0.15.0" }
kaspa-addresses = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-consensus-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-consensus-wasm = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-math = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-pow = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-txscript = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-rpc-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-utils = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-wasm-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-wallet-keys = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-wrpc-client = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-wrpc-wasm = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-wallet-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-wallet-core = { git = "https://github.com/aspectron/kaspa-wallet.git", branch = "master" }
[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"