Redundunt dependencies (#111)

* most changes

* delete unused deps + update ark-circom

* fix build

* revert

* default deatures

* return

* кумуке 2

* try

* rm

---------

Co-authored-by: tyshkor <tyshko1@gmail.com>
This commit is contained in:
tyshko-rostyslav 2023-02-27 19:49:47 +01:00 committed by GitHub
parent 062055dc5e
commit 7ee7675d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 8 deletions

View File

@ -13,22 +13,18 @@ license = "MIT OR Apache-2.0"
# fnv = { version = "1.0.3", default-features = false } # fnv = { version = "1.0.3", default-features = false }
# num = { version = "0.4.0" } # num = { version = "0.4.0" }
# num-traits = { version = "0.2.0", default-features = false } # num-traits = { version = "0.2.0", default-features = false }
num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
# ZKP Generation # ZKP Generation
ark-ec = { version = "0.3.0", default-features = false, features = ["parallel"] }
# ark-ff = { version = "0.3.0", default-features = false, features = ["parallel", "asm"] } # ark-ff = { version = "0.3.0", default-features = false, features = ["parallel", "asm"] }
ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] } ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] }
ark-bn254 = { version = "0.3.0" } ark-bn254 = { version = "0.3.0" }
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] } ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] }
# ark-poly = { version = "^0.3.0", default-features = false, features = ["parallel"] } # ark-poly = { version = "^0.3.0", default-features = false, features = ["parallel"] }
ark-relations = { version = "0.3.0", default-features = false }
ark-serialize = { version = "0.3.0", default-features = false } ark-serialize = { version = "0.3.0", default-features = false }
ark-circom = { git = "https://github.com/gakonst/ark-circom", features = ["circom-2"] } ark-circom = { git = "https://github.com/gakonst/ark-circom", features = ["circom-2"] }
# error handling # error handling
# thiserror = "1.0.26"
color-eyre = "0.6.1" color-eyre = "0.6.1"
# decoding of data # decoding of data

View File

@ -20,7 +20,6 @@ wasm-bindgen = "0.2.63"
serde-wasm-bindgen = "0.4" serde-wasm-bindgen = "0.4"
js-sys = "0.3.59" js-sys = "0.3.59"
serde_json = "1.0.85" serde_json = "1.0.85"
anyhow = "1.0.69"
# The `console_error_panic_hook` crate provides better debugging of panics by # The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires # logging them with `console.error`. This is great for development, but requires

View File

@ -12,14 +12,12 @@ dylib = [ "wasmer/dylib", "wasmer-engine-dylib", "wasmer-compiler-cranelift" ]
[dependencies] [dependencies]
ark-bn254 = { version = "0.3.0" } ark-bn254 = { version = "0.3.0" }
# TODO: use latest head after feature flag is appropriately used in ark-circom ark-circom = { git = "https://github.com/gakonst/ark-circom", features=["circom-2"] }
ark-circom = { git = "https://github.com/gakonst/ark-circom", rev="e226f90", features=["circom-2"] }
ark-ec = { version = "0.3.0", default-features = false, features = ["parallel"] } ark-ec = { version = "0.3.0", default-features = false, features = ["parallel"] }
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] } ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] }
ark-relations = { version = "0.3.0", default-features = false } ark-relations = { version = "0.3.0", default-features = false }
ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] } ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] }
color-eyre = "0.6.1" color-eyre = "0.6.1"
num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
once_cell = "1.8" once_cell = "1.8"
rand = "0.8.4" rand = "0.8.4"
semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "ee658c2"} semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "ee658c2"}