From 9708e925b8f6297781865fbc144e02e5b4398272 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Tue, 9 Apr 2024 01:23:56 +0300 Subject: [PATCH] chore: Release --- Cargo.lock | 4 ++-- rln/Cargo.toml | 30 ++++++++++++++++++++++-------- utils/Cargo.toml | 8 +++++--- 3 files changed, 29 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dbafb31..4def4a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1761,7 +1761,7 @@ dependencies = [ [[package]] name = "rln" -version = "0.3.6" +version = "0.3.7" dependencies = [ "ark-bn254", "ark-circom", @@ -2889,7 +2889,7 @@ dependencies = [ [[package]] name = "zerokit_utils" -version = "0.3.2" +version = "0.3.3" dependencies = [ "ark-bn254", "ark-ff", diff --git a/rln/Cargo.toml b/rln/Cargo.toml index 378d596..d405f7e 100644 --- a/rln/Cargo.toml +++ b/rln/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rln" -version = "0.3.6" +version = "0.3.7" edition = "2021" license = "MIT OR Apache-2.0" description = "APIs to manage, compute and verify zkSNARK proofs and RLN primitives" @@ -19,13 +19,19 @@ doctest = false [dependencies] # ZKP Generation ark-ec = { version = "=0.4.1", default-features = false } -ark-ff = { version = "=0.4.1", default-features = false, features = [ "asm"] } +ark-ff = { version = "=0.4.1", default-features = false, features = ["asm"] } ark-std = { version = "=0.4.0", default-features = false } ark-bn254 = { version = "=0.4.0" } -ark-groth16 = { version = "=0.4.0", features = ["parallel"], default-features = false } -ark-relations = { version = "=0.4.0", default-features = false, features = [ "std" ] } +ark-groth16 = { version = "=0.4.0", features = [ + "parallel", +], default-features = false } +ark-relations = { version = "=0.4.0", default-features = false, features = [ + "std", +] } ark-serialize = { version = "=0.4.1", default-features = false } -ark-circom = { version = "=0.1.0", default-features = false, features = ["circom-2"] } +ark-circom = { version = "=0.1.0", default-features = false, features = [ + "circom-2", +] } # WASM wasmer = { version = "=2.3.0", default-features = false } @@ -36,13 +42,15 @@ thiserror = "=1.0.39" # utilities cfg-if = "=1.0" -num-bigint = { version = "=0.4.3", default-features = false, features = ["rand"] } +num-bigint = { version = "=0.4.3", default-features = false, features = [ + "rand", +] } num-traits = "=0.2.15" once_cell = "=1.17.1" rand = "=0.8.5" rand_chacha = "=0.3.1" tiny-keccak = { version = "=2.0.2", features = ["keccak"] } -utils = { package = "zerokit_utils", version = "=0.3.2", path = "../utils/", default-features = false } +utils = { package = "zerokit_utils", version = "=0.3.3", path = "../utils/", default-features = false } # serialization serde_json = "=1.0.96" @@ -56,7 +64,13 @@ criterion = { version = "=0.4.0", features = ["html_reports"] } [features] default = ["parallel", "wasmer/sys-default", "pmtree-ft"] -parallel = ["ark-ec/parallel", "ark-ff/parallel", "ark-std/parallel", "ark-groth16/parallel", "utils/parallel"] +parallel = [ + "ark-ec/parallel", + "ark-ff/parallel", + "ark-std/parallel", + "ark-groth16/parallel", + "utils/parallel", +] wasm = ["wasmer/js", "wasmer/std"] fullmerkletree = ["default"] diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 54a7180..bd5b559 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zerokit_utils" -version = "0.3.2" +version = "0.3.3" edition = "2021" license = "MIT OR Apache-2.0" description = "Various utilities for Zerokit" @@ -13,9 +13,11 @@ bench = false [dependencies] ark-ff = { version = "=0.4.1", default-features = false, features = ["asm"] } -num-bigint = { version = "=0.4.3", default-features = false, features = ["rand"] } +num-bigint = { version = "=0.4.3", default-features = false, features = [ + "rand", +] } color-eyre = "=0.6.2" -pmtree = { package = "pmtree", version = "=2.0.0", optional = true} +pmtree = { package = "pmtree", version = "=2.0.0", optional = true } sled = "=0.34.7" serde = "=1.0.163"