diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f311d2b..31ac63a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,8 +17,12 @@ jobs: 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 diff --git a/Cargo.toml b/Cargo.toml index 0897783..d466d9e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,11 +13,11 @@ keywords = ["zkSNARKs", "cryptography", "proofs"] [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"