Browse Source

Fix Wasm support (#64)

* Fix dependencies

* Replace rug with num-bigint
main
Samuel Burnham 2 years ago
committed by GitHub
parent
commit
25cd5ec279
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Cargo.toml

+ 3
- 3
Cargo.toml

@ -23,7 +23,7 @@ rand_chacha = "0.3"
itertools = "0.9.0" itertools = "0.9.0"
subtle = "2.4" subtle = "2.4"
pasta_curves = "0.3.1" pasta_curves = "0.3.1"
neptune = "6.1"
neptune = { version = "6.1", default-features = false }
generic-array = "0.14.4" generic-array = "0.14.4"
bellperson-nonnative = { version = "0.3.0", default-features = false, features = ["wasm"] } bellperson-nonnative = { version = "0.3.0", default-features = false, features = ["wasm"] }
num-bigint = { version = "0.4", features = ["serde", "rand"] } num-bigint = { version = "0.4", features = ["serde", "rand"] }
@ -33,5 +33,5 @@ bincode = "1.2.1"
flate2 = "1.0" flate2 = "1.0"
[features] [features]
default = [ "bellperson/default", "bellperson-nonnative/default" ]
wasm = [ "bellperson/wasm", "bellperson-nonnative/wasm" ]
default = [ "bellperson/default", "bellperson-nonnative/default", "neptune/default" ]
wasm = [ "bellperson/wasm", "bellperson-nonnative/wasm", "neptune/wasm" ]

Loading…
Cancel
Save