Skip to content

Commit 2b95398

Browse files
committed
1 parent ba4c0fa commit 2b95398

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed

Cargo-recent.lock

+84
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ dependencies = [
5555
"serde",
5656
]
5757

58+
[[package]]
59+
name = "bumpalo"
60+
version = "3.15.4"
61+
source = "registry+https://github.com/rust-lang/crates.io-index"
62+
checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa"
63+
5864
[[package]]
5965
name = "byteorder"
6066
version = "1.4.3"
@@ -92,8 +98,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
9298
checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
9399
dependencies = [
94100
"cfg-if",
101+
"js-sys",
95102
"libc",
96103
"wasi",
104+
"wasm-bindgen",
97105
]
98106

99107
[[package]]
@@ -125,6 +133,15 @@ version = "1.0.10"
125133
source = "registry+https://github.com/rust-lang/crates.io-index"
126134
checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
127135

136+
[[package]]
137+
name = "js-sys"
138+
version = "0.3.69"
139+
source = "registry+https://github.com/rust-lang/crates.io-index"
140+
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
141+
dependencies = [
142+
"wasm-bindgen",
143+
]
144+
128145
[[package]]
129146
name = "lazy_static"
130147
version = "1.4.0"
@@ -137,6 +154,12 @@ version = "0.2.153"
137154
source = "registry+https://github.com/rust-lang/crates.io-index"
138155
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
139156

157+
[[package]]
158+
name = "log"
159+
version = "0.4.21"
160+
source = "registry+https://github.com/rust-lang/crates.io-index"
161+
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
162+
140163
[[package]]
141164
name = "memmap2"
142165
version = "0.5.10"
@@ -157,6 +180,12 @@ dependencies = [
157180
"bitcoin-internals",
158181
]
159182

183+
[[package]]
184+
name = "once_cell"
185+
version = "1.17.2"
186+
source = "registry+https://github.com/rust-lang/crates.io-index"
187+
checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b"
188+
160189
[[package]]
161190
name = "ppv-lite86"
162191
version = "0.2.17"
@@ -355,6 +384,7 @@ dependencies = [
355384
"bitcoin_hashes",
356385
"byteorder",
357386
"elements",
387+
"getrandom",
358388
"hex-conservative",
359389
"miniscript",
360390
"santiago",
@@ -392,3 +422,57 @@ name = "wasi"
392422
version = "0.11.0+wasi-snapshot-preview1"
393423
source = "registry+https://github.com/rust-lang/crates.io-index"
394424
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
425+
426+
[[package]]
427+
name = "wasm-bindgen"
428+
version = "0.2.92"
429+
source = "registry+https://github.com/rust-lang/crates.io-index"
430+
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
431+
dependencies = [
432+
"cfg-if",
433+
"wasm-bindgen-macro",
434+
]
435+
436+
[[package]]
437+
name = "wasm-bindgen-backend"
438+
version = "0.2.92"
439+
source = "registry+https://github.com/rust-lang/crates.io-index"
440+
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
441+
dependencies = [
442+
"bumpalo",
443+
"log",
444+
"once_cell",
445+
"proc-macro2",
446+
"quote",
447+
"syn",
448+
"wasm-bindgen-shared",
449+
]
450+
451+
[[package]]
452+
name = "wasm-bindgen-macro"
453+
version = "0.2.92"
454+
source = "registry+https://github.com/rust-lang/crates.io-index"
455+
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
456+
dependencies = [
457+
"quote",
458+
"wasm-bindgen-macro-support",
459+
]
460+
461+
[[package]]
462+
name = "wasm-bindgen-macro-support"
463+
version = "0.2.92"
464+
source = "registry+https://github.com/rust-lang/crates.io-index"
465+
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
466+
dependencies = [
467+
"proc-macro2",
468+
"quote",
469+
"syn",
470+
"wasm-bindgen-backend",
471+
"wasm-bindgen-shared",
472+
]
473+
474+
[[package]]
475+
name = "wasm-bindgen-shared"
476+
version = "0.2.92"
477+
source = "registry+https://github.com/rust-lang/crates.io-index"
478+
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ actual-serde = { package = "serde", version = "1.0.103", features = [
3232
"derive",
3333
], optional = true }
3434

35+
[target.wasm32-unknown-unknown.dependencies]
36+
getrandom = { version = "0.2", features = ["js"] }
37+
3538
[dev-dependencies]
3639
simplicity-sys = { version = "0.2.0", path = "./simplicity-sys", features = [
3740
"test-utils",

0 commit comments

Comments
 (0)