From d1a6dac98856d98e34b542f0e98eba6b2c67ecdc Mon Sep 17 00:00:00 2001 From: CPerezz Date: Thu, 22 Aug 2024 22:51:02 +0200 Subject: [PATCH] change: regresion to 0.4 --- Cargo.lock | 163 ++++++++++++++++------------------------------------- Cargo.toml | 18 +++--- 2 files changed, 59 insertions(+), 122 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3dfb8b0..17d7be0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -70,12 +70,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "allocator-api2" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" - [[package]] name = "any_ascii" version = "0.1.7" @@ -90,9 +84,9 @@ checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "ark-bn254" -version = "0.5.0-alpha.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c662c88acb89e9a9fb4c62fc5f6f102d9e1cfbd7bb6386cdb872b52a801fbece" +checksum = "a22f4561524cd949590d78d7d4c5df8f592430d221f7f3c9497bbafd8972120f" dependencies = [ "ark-ec", "ark-ff", @@ -133,12 +127,10 @@ dependencies = [ [[package]] name = "ark-crypto-primitives" -version = "0.5.0-alpha.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ed5da133cbc7e9371314b9ba947c3cd853ee2c3f2b69f7c9fbdd06f531c5b0e" +checksum = "1f3a13b34da09176a8baba701233fdffbaa7c1b1192ce031a3da4e55ce1f1a56" dependencies = [ - "ahash 0.8.11", - "ark-crypto-primitives-macros", "ark-ec", "ark-ff", "ark-relations", @@ -148,39 +140,23 @@ dependencies = [ "blake2", "derivative", "digest", - "fnv", "rayon", "sha2", ] -[[package]] -name = "ark-crypto-primitives-macros" -version = "0.5.0-alpha.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b9052772e97bf7787afc79340c435f62fba71807edd6ba5b9f1ec67a59b72bc" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.71", -] - [[package]] name = "ark-ec" -version = "0.5.0-alpha.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfd2059d3f93e1e1d6895f0d605e5f5a256fe8aeaafa3e4f0fa49812daa151e9" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ - "ahash 0.8.11", "ark-ff", "ark-poly", "ark-serialize", "ark-std", - "educe", - "fnv", - "hashbrown 0.14.5", - "itertools 0.13.0", - "num-bigint", - "num-integer", + "derivative", + "hashbrown 0.13.2", + "itertools", "num-traits", "rayon", "zeroize", @@ -188,53 +164,53 @@ dependencies = [ [[package]] name = "ark-ff" -version = "0.5.0-alpha.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66c882014dad87209b9c504b3d74d786be0c33bab9736d2596583255d52cf4c1" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" dependencies = [ "ark-ff-asm", "ark-ff-macros", "ark-serialize", "ark-std", - "arrayvec", + "derivative", "digest", - "educe", - "itertools 0.13.0", + "itertools", "num-bigint", "num-traits", "paste", "rayon", + "rustc_version", "zeroize", ] [[package]] name = "ark-ff-asm" -version = "0.5.0-alpha.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c989d1176288a7a591c662e16b98219505366bf48ccb5efa27984748d31b785f" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" dependencies = [ "quote", - "syn 2.0.71", + "syn 1.0.109", ] [[package]] name = "ark-ff-macros" -version = "0.5.0-alpha.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9fbc6fa5c2cb1936287236cc76572f773dbfb5df5dd814386b180e668904371" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" dependencies = [ "num-bigint", "num-traits", "proc-macro2", "quote", - "syn 2.0.71", + "syn 1.0.109", ] [[package]] name = "ark-groth16" -version = "0.5.0-alpha.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf249b234502b9f2bbcb4a69480db1aeb9ea69deb9d0f4f91c6843e0124fbf6" +checksum = "20ceafa83848c3e390f1cbf124bc3193b3e639b3f02009e0e290809a501b95fc" dependencies = [ "ark-crypto-primitives", "ark-ec", @@ -248,25 +224,23 @@ dependencies = [ [[package]] name = "ark-poly" -version = "0.5.0-alpha.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b66c85f512876fd2b8763fcb0c045d2819bbda24b6020e6a893f15985d6d1ccf" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" dependencies = [ - "ahash 0.8.11", "ark-ff", "ark-serialize", "ark-std", - "educe", - "fnv", - "hashbrown 0.14.5", + "derivative", + "hashbrown 0.13.2", "rayon", ] [[package]] name = "ark-relations" -version = "0.5.0-alpha.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8805794af93c9540d28f8bf1f40fa0dac8704ca0e54f508dfcc28466f130a" +checksum = "00796b6efc05a3f48225e59cb6a2cda78881e7c390872d5786aaf112f31fb4f0" dependencies = [ "ark-ff", "ark-std", @@ -276,34 +250,32 @@ dependencies = [ [[package]] name = "ark-serialize" -version = "0.5.0-alpha.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48a69fbd004ea7b7fc8946475495298341e961381d33dc5c89c112cdf319b11d" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ "ark-serialize-derive", "ark-std", - "arrayvec", "digest", "num-bigint", - "rayon", ] [[package]] name = "ark-serialize-derive" -version = "0.5.0-alpha.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95905921bd063ddeade5b8b992a6ee509d47c765abcbd38e70c71af1c61ee2f5" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 1.0.109", ] [[package]] name = "ark-snark" -version = "0.5.0-alpha.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01684c73c36ad4a307517c0ad1872686dc403b351a96af657723da33d7549e63" +checksum = "84d3cc6833a335bb8a600241889ead68ee89a3cf8448081fb7694c0fe503da63" dependencies = [ "ark-ff", "ark-relations", @@ -313,9 +285,9 @@ dependencies = [ [[package]] name = "ark-std" -version = "0.5.0-alpha.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd37a4e913a2fa8885035d8ae16b73f79e76db9c236c4275658b58580b47f03" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", "rand", @@ -953,7 +925,7 @@ dependencies = [ "clap", "criterion-plot", "csv", - "itertools 0.10.5", + "itertools", "lazy_static", "num-traits", "oorandom", @@ -975,7 +947,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2673cc8207403546f45f5fd319a974b1e6983ad1a3ee7e6041650013be041876" dependencies = [ "cast", - "itertools 0.10.5", + "itertools", ] [[package]] @@ -1319,18 +1291,6 @@ dependencies = [ "spki", ] -[[package]] -name = "educe" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" -dependencies = [ - "enum-ordinalize", - "proc-macro2", - "quote", - "syn 2.0.71", -] - [[package]] name = "either" version = "1.13.0" @@ -1412,26 +1372,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "enum-ordinalize" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5" -dependencies = [ - "enum-ordinalize-derive", -] - -[[package]] -name = "enum-ordinalize-derive" -version = "4.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.71", -] - [[package]] name = "enumset" version = "1.1.3" @@ -2154,13 +2094,19 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.5" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "allocator-api2", + "ahash 0.8.11", ] +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + [[package]] name = "hashers" version = "1.0.1" @@ -2489,15 +2435,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.11" @@ -2556,7 +2493,7 @@ dependencies = [ "diff", "ena", "is-terminal", - "itertools 0.10.5", + "itertools", "lalrpop-util", "petgraph", "regex", @@ -4226,7 +4163,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a94494913728908efa7a25a2dd2e4f037e714897985c24273c40596638ed909" dependencies = [ - "itertools 0.10.5", + "itertools", "lalrpop", "lalrpop-util", "phf", diff --git a/Cargo.toml b/Cargo.toml index 719a2c4..29d2a94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,15 +20,15 @@ num-traits = { version = "=0.2.15", default-features = false } num-bigint = { version = "=0.4.3", default-features = false, features = ["rand"] } # ZKP Generation -ark-crypto-primitives = { version = "0.5.0-alpha" } -ark-ff = { version = "0.5.0-alpha", default-features = false, features = ["parallel", "asm"] } -ark-ec = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] } -ark-std = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] } -ark-bn254 = { version = "0.5.0-alpha" } -ark-groth16 = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] } -ark-poly = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] } -ark-relations = { version = "0.5.0-alpha", default-features = false } -ark-serialize = { version = "0.5.0-alpha", default-features = false } +ark-crypto-primitives = { version = "0.4" } +ark-ff = { version = "0.4", default-features = false, features = ["parallel", "asm"] } +ark-ec = { version = "0.4", default-features = false, features = ["parallel"] } +ark-std = { version = "0.4", default-features = false, features = ["parallel"] } +ark-bn254 = { version = "0.4" } +ark-groth16 = { version = "0.4", default-features = false, features = ["parallel"] } +ark-poly = { version = "0.4", default-features = false, features = ["parallel"] } +ark-relations = { version = "0.4", default-features = false } +ark-serialize = { version = "0.4", default-features = false } # decoding of data hex = "=0.4.3"