arnaucube
arnaucube/NovaPublic Self-hosted repository
fix wasm build (#137)

Srinath Setty srinath@microsoft.com
Fri, 03 Feb 2023 13:34:01 -0800
commit

0315bd119815b735819fe3fb0392451619a6c354

parent

603c1e2a85cd47a44bb71a5b28610198ba344dd0

2 files changed, 6 insertions(+), 2 deletions(-)

jump to
M .github/workflows/rust.yml → .github/workflows/rust.yml

@@ -17,8 +17,12 @@ - name: Install rustfmt Components

run: rustup component add rustfmt - name: Install clippy run: rustup component add clippy + - name: Install Wasm target + run: rustup target add wasm32-unknown-unknown - name: Build run: cargo build --verbose + - name: Wasm build + run: cargo build --target wasm32-unknown-unknown - name: Build examples run: cargo build --examples --verbose - name: Run tests
M Cargo.toml → Cargo.toml

@@ -13,11 +13,11 @@

[dependencies] bellperson = { version = "0.24", default-features = false } ff = { version = "0.12.0", features = ["derive"] } -merlin = "3.0.0" +merlin = {version = "3.0.0", default-features = false } digest = "0.8.1" sha3 = "0.8.2" rayon = "1.3.0" -rand_core = { version = "0.5", default-features = false } +rand_core = { version = "0.6.0", default-features = false } rand_chacha = "0.3" itertools = "0.9.0" subtle = "2.4"