Skip to content

Commit

Permalink
chore: pin wasm-bindgen-rayon (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang authored Jan 19, 2024
1 parent 7cd6a39 commit 8edadbd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 deletions.
18 changes: 9 additions & 9 deletions cli/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions halo2-lib-js/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions halo2-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ snark-verifier = { version = "0.1.7", default-features = false, features = ["loa

getrandom = { version = "0.2", features = ["js"] }
rand = "0.8"
itertools = "0.10"
itertools = "0.11"
web-sys = { version = "0.3", features = ["Request", "Window", "Response", "console"] }
console_error_panic_hook = "0.1.7"
js-sys = "0.3"
Expand All @@ -44,7 +44,7 @@ num-integer = "0.1.45"
paste = "1.0.14"

[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen-rayon = { version = "1.0" }
wasm-bindgen-rayon = { version = "=1.1.3" }

[features]
default = ["rayon"]
Expand Down
2 changes: 1 addition & 1 deletion halo2-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@axiom-crypto/halo2-wasm",
"description": "Halo2 wasm bindings",
"version": "0.3.3",
"version": "0.3.4",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion halo2-wasm/scripts/build-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ rm temp-pkg/.gitignore
# Copy a modified version of package.json and readme.md to pkg/
node ./scripts/makeSubdirPkg.js

# sed -i '' "s|const pkg = await import('../../..');|const pkg = await import('../../../halo2_wasm');|g" temp-pkg/snippets/wasm-bindgen-rayon-7afa899f36665473/src/workerHelpers.js
sed -i '' "s|const pkg = await import('../../..');|const pkg = await import('../../../halo2_wasm');|g" temp-pkg/snippets/wasm-bindgen-rayon-61c530a5c67cc8eb/src/workerHelpers.js

mv temp-pkg pkg/web

0 comments on commit 8edadbd

Please sign in to comment.