Browse Source

Wasm support (#34)

* Bump commit.

* Add wasm support

* Add nix build

* Update bellperson

* Update bellperson

* Remove Nix

* Remove .envrc

* Always use bellperson

* Use updated bellperson-nonnative

* Update bellperson-nonnative

Co-authored-by: porcuquine <porcuquine@users.noreply.github.com>
Co-authored-by: Anders Christiansen Sørby <anders@sorby.xyz>
main
Samuel Burnham 2 years ago
committed by GitHub
parent
commit
fbc855d1d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      Cargo.toml

+ 7
- 3
Cargo.toml

@ -11,8 +11,8 @@ license-file = "LICENSE"
keywords = ["zkSNARKs", "cryptography", "proofs"]
[dependencies]
bellperson = "0.20"
ff = {version = "0.11.0", features = ["derive"]}
bellperson = { version = "0.20", default-features = false }
ff = { version = "0.11.0", features = ["derive"] }
merlin = "2.0.0"
rand = "0.8.4"
digest = "0.8.1"
@ -25,5 +25,9 @@ subtle = "2.4"
pasta_curves = "0.3.0"
neptune = "6.1"
generic-array = "0.14.4"
bellperson-nonnative = "0.2.1"
bellperson-nonnative = { version = "0.2.1", default-features = false, features = ["wasm"] }
rug = { version = "1.10", default-features = false, features = ["integer", "serde", "rand"] }
[features]
default = [ "bellperson/default", "bellperson-nonnative/default" ]
wasm = [ "bellperson/wasm", "bellperson-nonnative/wasm" ]

Loading…
Cancel
Save