From 7ee7675d5208dd2f5f9c87f90486603462e54ee7 Mon Sep 17 00:00:00 2001 From: tyshko-rostyslav <122977916+tyshko-rostyslav@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:49:47 +0100 Subject: [PATCH] Redundunt dependencies (#111) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * most changes * delete unused deps + update ark-circom * fix build * revert * default deatures * return * кумуке 2 * try * rm --------- Co-authored-by: tyshkor --- multiplier/Cargo.toml | 4 ---- rln-wasm/Cargo.toml | 1 - semaphore/Cargo.toml | 4 +--- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/multiplier/Cargo.toml b/multiplier/Cargo.toml index a30ba96..2ececf9 100644 --- a/multiplier/Cargo.toml +++ b/multiplier/Cargo.toml @@ -13,22 +13,18 @@ license = "MIT OR Apache-2.0" # fnv = { version = "1.0.3", default-features = false } # num = { version = "0.4.0" } # num-traits = { version = "0.2.0", default-features = false } -num-bigint = { version = "0.4", default-features = false, features = ["rand"] } # 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-std = { version = "0.3.0", default-features = false, features = ["parallel"] } ark-bn254 = { version = "0.3.0" } 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-relations = { 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"] } # error handling -# thiserror = "1.0.26" color-eyre = "0.6.1" # decoding of data diff --git a/rln-wasm/Cargo.toml b/rln-wasm/Cargo.toml index 107947c..6b61812 100644 --- a/rln-wasm/Cargo.toml +++ b/rln-wasm/Cargo.toml @@ -20,7 +20,6 @@ wasm-bindgen = "0.2.63" serde-wasm-bindgen = "0.4" js-sys = "0.3.59" serde_json = "1.0.85" -anyhow = "1.0.69" # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires diff --git a/semaphore/Cargo.toml b/semaphore/Cargo.toml index 0361f3b..1cac42e 100644 --- a/semaphore/Cargo.toml +++ b/semaphore/Cargo.toml @@ -12,14 +12,12 @@ dylib = [ "wasmer/dylib", "wasmer-engine-dylib", "wasmer-compiler-cranelift" ] [dependencies] 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", rev="e226f90", features=["circom-2"] } +ark-circom = { git = "https://github.com/gakonst/ark-circom", features=["circom-2"] } 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-relations = { version = "0.3.0", default-features = false } ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] } color-eyre = "0.6.1" -num-bigint = { version = "0.4", default-features = false, features = ["rand"] } once_cell = "1.8" rand = "0.8.4" semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "ee658c2"}