mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-10 16:11:29 +01:00
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>
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -11,8 +11,8 @@ license-file = "LICENSE"
|
|||||||
keywords = ["zkSNARKs", "cryptography", "proofs"]
|
keywords = ["zkSNARKs", "cryptography", "proofs"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bellperson = "0.20"
|
bellperson = { version = "0.20", default-features = false }
|
||||||
ff = {version = "0.11.0", features = ["derive"]}
|
ff = { version = "0.11.0", features = ["derive"] }
|
||||||
merlin = "2.0.0"
|
merlin = "2.0.0"
|
||||||
rand = "0.8.4"
|
rand = "0.8.4"
|
||||||
digest = "0.8.1"
|
digest = "0.8.1"
|
||||||
@@ -25,5 +25,9 @@ subtle = "2.4"
|
|||||||
pasta_curves = "0.3.0"
|
pasta_curves = "0.3.0"
|
||||||
neptune = "6.1"
|
neptune = "6.1"
|
||||||
generic-array = "0.14.4"
|
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"] }
|
rug = { version = "1.10", default-features = false, features = ["integer", "serde", "rand"] }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = [ "bellperson/default", "bellperson-nonnative/default" ]
|
||||||
|
wasm = [ "bellperson/wasm", "bellperson-nonnative/wasm" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user