From 761e49a73e25c649c574d1dd682b789d9dd0f357 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 15 Jul 2024 18:51:42 +0000 Subject: [PATCH 1/3] Check in Cargo.lock This is now necessary to test MSRV. The related CI changes will come in a subsequent PR. --- .gitignore | 1 - Cargo.lock | 886 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 886 insertions(+), 1 deletion(-) create mode 100644 Cargo.lock diff --git a/.gitignore b/.gitignore index a9d37c560..eb5a316cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ target -Cargo.lock diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 000000000..21b179a8b --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,886 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "anes" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" + +[[package]] +name = "arrayref" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" + +[[package]] +name = "arrayvec" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi 0.1.19", + "libc", + "winapi", +] + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "bellman" +version = "0.14.0" +dependencies = [ + "bitvec", + "blake2s_simd", + "bls12_381", + "byteorder", + "criterion", + "crossbeam-channel", + "ff", + "group", + "hex-literal", + "lazy_static", + "log", + "num_cpus", + "pairing", + "rand", + "rand_core", + "rand_xorshift", + "rayon", + "sha2", + "subtle", +] + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[package]] +name = "blake2s_simd" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" +dependencies = [ + "arrayref", + "arrayvec", + "constant_time_eq", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "bls12_381" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7bc6d6292be3a19e6379786dac800f551e5865a5bb51ebbe3064ab80433f403" +dependencies = [ + "ff", + "group", + "pairing", + "rand_core", + "subtle", +] + +[[package]] +name = "bumpalo" +version = "3.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" + +[[package]] +name = "byteorder" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" + +[[package]] +name = "cast" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "ciborium" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f" +dependencies = [ + "ciborium-io", + "ciborium-ll", + "serde", +] + +[[package]] +name = "ciborium-io" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369" + +[[package]] +name = "ciborium-ll" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b" +dependencies = [ + "ciborium-io", + "half", +] + +[[package]] +name = "clap" +version = "3.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" +dependencies = [ + "bitflags", + "clap_lex", + "indexmap", + "textwrap", +] + +[[package]] +name = "clap_lex" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" +dependencies = [ + "os_str_bytes", +] + +[[package]] +name = "constant_time_eq" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" + +[[package]] +name = "cpufeatures" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" +dependencies = [ + "libc", +] + +[[package]] +name = "criterion" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb" +dependencies = [ + "anes", + "atty", + "cast", + "ciborium", + "clap", + "criterion-plot", + "itertools", + "lazy_static", + "num-traits", + "oorandom", + "plotters", + "rayon", + "regex", + "serde", + "serde_derive", + "serde_json", + "tinytemplate", + "walkdir", +] + +[[package]] +name = "criterion-plot" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" +dependencies = [ + "cast", + "itertools", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf2b3e8478797446514c91ef04bafcb59faba183e621ad488df88983cc14128c" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +dependencies = [ + "cfg-if", + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" +dependencies = [ + "autocfg", + "cfg-if", + "crossbeam-utils", + "memoffset", + "scopeguard", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "digest" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "either" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" + +[[package]] +name = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "bitvec", + "rand_core", + "subtle", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "generic-array" +version = "0.14.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff", + "rand_core", + "subtle", +] + +[[package]] +name = "half" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "hermit-abi" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" +dependencies = [ + "libc", +] + +[[package]] +name = "hex-literal" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" + +[[package]] +name = "indexmap" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" +dependencies = [ + "autocfg", + "hashbrown", +] + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" + +[[package]] +name = "js-sys" +version = "0.3.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.140" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" + +[[package]] +name = "log" +version = "0.4.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "memoffset" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num-traits" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_cpus" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" +dependencies = [ + "hermit-abi 0.2.6", + "libc", +] + +[[package]] +name = "once_cell" +version = "1.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" + +[[package]] +name = "oorandom" +version = "11.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" + +[[package]] +name = "os_str_bytes" +version = "6.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" + +[[package]] +name = "pairing" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81fec4625e73cf41ef4bb6846cafa6d44736525f442ba45e407c4a000a13996f" +dependencies = [ + "group", +] + +[[package]] +name = "plotters" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97" +dependencies = [ + "num-traits", + "plotters-backend", + "plotters-svg", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "plotters-backend" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142" + +[[package]] +name = "plotters-svg" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f" +dependencies = [ + "plotters-backend", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "proc-macro2" +version = "1.0.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rand_xorshift" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rayon" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +dependencies = [ + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-utils", + "num_cpus", +] + +[[package]] +name = "regex" +version = "1.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" +dependencies = [ + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.6.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" + +[[package]] +name = "ryu" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scopeguard" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" + +[[package]] +name = "serde" +version = "1.0.157" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "707de5fcf5df2b5788fca98dd7eab490bc2fd9b7ef1404defc462833b83f25ca" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.157" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.0", +] + +[[package]] +name = "serde_json" +version = "1.0.94" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c533a59c9d8a93a09c6ab31f0fd5e5f4dd1b8fc9434804029839884765d04ea" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "sha2" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cff13bb1732bccfe3b246f3fdb09edfd51c01d6f5299b7ccd9457c2e4e37774" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[package]] +name = "textwrap" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" + +[[package]] +name = "tinytemplate" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" +dependencies = [ + "serde", + "serde_json", +] + +[[package]] +name = "typenum" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" + +[[package]] +name = "unicode-ident" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "walkdir" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 1.0.109", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" + +[[package]] +name = "web-sys" +version = "0.3.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +dependencies = [ + "winapi", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] From 3332b80ff09007ad5db8d7b1ecbd3281831d1672 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 15 Jul 2024 18:53:24 +0000 Subject: [PATCH 2/3] Move `bellman::groth16` into a separate crate --- .github/workflows/ci.yml | 10 +++--- CHANGELOG.md | 2 ++ Cargo.lock | 17 ++++++++++ Cargo.toml | 22 ++++++------- groth16/CHANGELOG.md | 9 ++++++ groth16/Cargo.toml | 32 +++++++++++++++++++ groth16/README.md | 21 ++++++++++++ {benches => groth16/benches}/batch.rs | 2 +- {src/groth16 => groth16/src}/generator.rs | 25 +++++++++------ src/groth16/mod.rs => groth16/src/lib.rs | 5 ++- {src/groth16 => groth16/src}/prover.rs | 31 +++++++++++------- .../src}/tests/dummy_engine.rs | 0 {src/groth16 => groth16/src}/tests/mod.rs | 2 +- {src/groth16 => groth16/src}/verifier.rs | 2 +- .../groth16 => groth16/src}/verifier/batch.rs | 6 ++-- {tests => groth16/tests}/common/mod.rs | 0 {tests => groth16/tests}/mimc.rs | 2 +- src/lib.rs | 5 +-- 18 files changed, 141 insertions(+), 52 deletions(-) create mode 100644 groth16/CHANGELOG.md create mode 100644 groth16/Cargo.toml create mode 100644 groth16/README.md rename {benches => groth16/benches}/batch.rs (99%) rename {src/groth16 => groth16/src}/generator.rs (95%) rename src/groth16/mod.rs => groth16/src/lib.rs (99%) rename {src/groth16 => groth16/src}/prover.rs (92%) rename {src/groth16 => groth16/src}/tests/dummy_engine.rs (100%) rename {src/groth16 => groth16/src}/tests/mod.rs (99%) rename {src/groth16 => groth16/src}/verifier.rs (98%) rename {src/groth16 => groth16/src}/verifier/batch.rs (99%) rename {tests => groth16/tests}/common/mod.rs (100%) rename {tests => groth16/tests}/mimc.rs (99%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89f0526e5..1234ab983 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run tests - run: cargo test --verbose --release + run: cargo test --verbose --release --workspace build: name: Build target ${{ matrix.target }} @@ -31,7 +31,7 @@ jobs: - name: Add target run: rustup target add ${{ matrix.target }} - name: Build for target - run: cargo build --verbose --target ${{ matrix.target }} ${{ matrix.build_flags }} + run: cargo build --verbose --workspace --target ${{ matrix.target }} ${{ matrix.build_flags }} bitrot: name: Bitrot check @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v3 # Build benchmarks to prevent bitrot - name: Build benchmarks - run: cargo build --benches --all-features + run: cargo build --benches --workspace --all-features doc-links: name: Intra-doc links @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v3 # Requires #![deny(rustdoc::broken_intra_doc_links)] in crates. - name: Check intra-doc links - run: cargo doc --document-private-items + run: cargo doc --workspace --document-private-items fmt: name: Rustfmt @@ -59,4 +59,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check formatting - run: cargo fmt -- --check + run: cargo fmt --all -- --check diff --git a/CHANGELOG.md b/CHANGELOG.md index f1713d898..5be45039c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to Rust's notion of [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Removed +- `bellman::groth16` (moved to the `groth16` crate). ## [0.14.0] - 2023-03-20 ### Changed diff --git a/Cargo.lock b/Cargo.lock index 21b179a8b..cc09cbbd4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,6 +48,7 @@ dependencies = [ "criterion", "crossbeam-channel", "ff", + "groth16", "group", "hex-literal", "lazy_static", @@ -343,6 +344,22 @@ dependencies = [ "wasi", ] +[[package]] +name = "groth16" +version = "0.0.0" +dependencies = [ + "bellman", + "bls12_381", + "byteorder", + "criterion", + "ff", + "group", + "pairing", + "rand", + "rand_core", + "subtle", +] + [[package]] name = "group" version = "0.13.0" diff --git a/Cargo.toml b/Cargo.toml index 770f5ab64..754b26499 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,9 @@ +[workspace] +members = [ + ".", + "groth16", +] + [package] authors = [ "Sean Bowe ", @@ -34,23 +40,17 @@ rayon = { version = "1.5.1", optional = true } bls12_381 = "0.8" criterion = "0.4" hex-literal = "0.3" +pairing = "0.23" rand = "0.8" rand_xorshift = "0.3" sha2 = "0.10" +# Only for doctests. +groth16 = { path = "groth16" } + [features] -groth16 = ["pairing"] multicore = ["crossbeam-channel", "lazy_static", "log", "num_cpus", "rayon", "rand_core/getrandom"] -default = ["groth16", "multicore"] - -[[test]] -name = "mimc" -path = "tests/mimc.rs" -required-features = ["groth16"] - -[[bench]] -name = "batch" -harness = false +default = ["multicore"] [[bench]] name = "slow" diff --git a/groth16/CHANGELOG.md b/groth16/CHANGELOG.md new file mode 100644 index 000000000..121701a84 --- /dev/null +++ b/groth16/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to Rust's notion of +[Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] +Initial release (moved from `bellman::groth16`) diff --git a/groth16/Cargo.toml b/groth16/Cargo.toml new file mode 100644 index 000000000..bacae5f41 --- /dev/null +++ b/groth16/Cargo.toml @@ -0,0 +1,32 @@ +[package] +name = "groth16" +version = "0.0.0" +authors = [ + "Sean Bowe ", + "Jack Grigg ", +] +edition = "2021" +rust-version = "1.60" +description = "Groth16 prover and verifier for Bellman" +readme = "README.md" +homepage = "https://github.com/zkcrypto/bellman" +repository = "https://github.com/zkcrypto/bellman" +license = "MIT OR Apache-2.0" + +[dependencies] +bellman = { version = "0.14", path = "../" } +byteorder = "1" +ff = "0.13" +group = "0.13" +pairing = "0.23" +rand_core = "0.6" + +[dev-dependencies] +bls12_381 = "0.8" +criterion = "0.4" +rand = "0.8" +subtle = "2.2.1" + +[[bench]] +name = "batch" +harness = false diff --git a/groth16/README.md b/groth16/README.md new file mode 100644 index 000000000..5552e3398 --- /dev/null +++ b/groth16/README.md @@ -0,0 +1,21 @@ +# groth16 [![Crates.io](https://img.shields.io/crates/v/groth16.svg)](https://crates.io/crates/groth16) # + +`groth16` is an implementation of the Groth16 proving system, backed by the +`bellman` circuit-building library. + +## License + +Licensed under either of + + * Apache License, Version 2.0, ([LICENSE-APACHE](../LICENSE-APACHE) or + http://www.apache.org/licenses/LICENSE-2.0) + * MIT license ([LICENSE-MIT](../LICENSE-MIT) or http://opensource.org/licenses/MIT) + +at your option. + +### Contribution + +Unless you explicitly state otherwise, any contribution intentionally +submitted for inclusion in the work by you, as defined in the Apache-2.0 +license, shall be dual licensed as above, without any additional terms or +conditions. diff --git a/benches/batch.rs b/groth16/benches/batch.rs similarity index 99% rename from benches/batch.rs rename to groth16/benches/batch.rs index 693c68576..717489670 100644 --- a/benches/batch.rs +++ b/groth16/benches/batch.rs @@ -4,7 +4,7 @@ use bls12_381::Bls12; use ff::Field; use rand::thread_rng; -use bellman::groth16::{ +use groth16::{ batch, create_random_proof, generate_random_parameters, prepare_verifying_key, verify_proof, }; diff --git a/src/groth16/generator.rs b/groth16/src/generator.rs similarity index 95% rename from src/groth16/generator.rs rename to groth16/src/generator.rs index dc9ab42d1..01f419904 100644 --- a/src/groth16/generator.rs +++ b/groth16/src/generator.rs @@ -8,11 +8,11 @@ use pairing::Engine; use super::{Parameters, VerifyingKey}; -use crate::{Circuit, ConstraintSystem, Index, LinearCombination, SynthesisError, Variable}; +use bellman::{Circuit, ConstraintSystem, Index, LinearCombination, SynthesisError, Variable}; -use crate::domain::{EvaluationDomain, Scalar}; +use bellman::domain::{EvaluationDomain, Scalar}; -use crate::multicore::Worker; +use bellman::multicore::Worker; /// Generates a random common reference string for /// a circuit. @@ -71,7 +71,7 @@ impl ConstraintSystem for KeypairAssembly { self.bt_aux.push(vec![]); self.ct_aux.push(vec![]); - Ok(Variable(Index::Aux(index))) + Ok(Variable::new_unchecked(Index::Aux(index))) } fn alloc_input(&mut self, _: A, _: F) -> Result @@ -90,7 +90,7 @@ impl ConstraintSystem for KeypairAssembly { self.bt_inputs.push(vec![]); self.ct_inputs.push(vec![]); - Ok(Variable(Index::Input(index))) + Ok(Variable::new_unchecked(Index::Input(index))) } fn enforce(&mut self, _: A, a: LA, b: LB, c: LC) @@ -107,10 +107,10 @@ impl ConstraintSystem for KeypairAssembly { aux: &mut [Vec<(Scalar, usize)>], this_constraint: usize, ) { - for (index, coeff) in l.0 { - match index { - Variable(Index::Input(id)) => inputs[id].push((coeff, this_constraint)), - Variable(Index::Aux(id)) => aux[id].push((coeff, this_constraint)), + for (index, coeff) in l.as_ref() { + match index.get_unchecked() { + Index::Input(id) => inputs[id].push((*coeff, this_constraint)), + Index::Aux(id) => aux[id].push((*coeff, this_constraint)), } } } @@ -193,7 +193,12 @@ where // Input constraints to ensure full density of IC query // x * 0 = 0 for i in 0..assembly.num_inputs { - assembly.enforce(|| "", |lc| lc + Variable(Index::Input(i)), |lc| lc, |lc| lc); + assembly.enforce( + || "", + |lc| lc + Variable::new_unchecked(Index::Input(i)), + |lc| lc, + |lc| lc, + ); } // Create bases for blind evaluation of polynomials at tau diff --git a/src/groth16/mod.rs b/groth16/src/lib.rs similarity index 99% rename from src/groth16/mod.rs rename to groth16/src/lib.rs index b0e20887e..5114bf228 100644 --- a/src/groth16/mod.rs +++ b/groth16/src/lib.rs @@ -5,9 +5,8 @@ use group::{prime::PrimeCurveAffine, GroupEncoding, UncompressedEncoding}; use pairing::{Engine, MultiMillerLoop}; -use crate::SynthesisError; +use bellman::{multiexp::SourceBuilder, SynthesisError}; -use crate::multiexp::SourceBuilder; use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; use std::io::{self, Read, Write}; use std::sync::Arc; @@ -477,8 +476,8 @@ impl<'a, E: Engine> ParameterSource for &'a Parameters { #[cfg(test)] mod test_with_bls12_381 { use super::*; - use crate::{Circuit, ConstraintSystem, SynthesisError}; + use bellman::{Circuit, ConstraintSystem, SynthesisError}; use bls12_381::{Bls12, Scalar}; use ff::{Field, PrimeField}; use rand::thread_rng; diff --git a/src/groth16/prover.rs b/groth16/src/prover.rs similarity index 92% rename from src/groth16/prover.rs rename to groth16/src/prover.rs index 78061387c..c61c2a034 100644 --- a/src/groth16/prover.rs +++ b/groth16/src/prover.rs @@ -8,13 +8,13 @@ use pairing::Engine; use super::{ParameterSource, Proof}; -use crate::{Circuit, ConstraintSystem, Index, LinearCombination, SynthesisError, Variable}; +use bellman::{Circuit, ConstraintSystem, Index, LinearCombination, SynthesisError, Variable}; -use crate::domain::{EvaluationDomain, Scalar}; +use bellman::domain::{EvaluationDomain, Scalar}; -use crate::multiexp::{multiexp, DensityTracker, FullDensity}; +use bellman::multiexp::{multiexp, DensityTracker, FullDensity}; -use crate::multicore::Worker; +use bellman::multicore::Worker; fn eval( lc: &LinearCombination, @@ -25,18 +25,18 @@ fn eval( ) -> S { let mut acc = S::ZERO; - for &(index, coeff) in lc.0.iter() { + for &(index, coeff) in lc.as_ref() { let mut tmp; if !coeff.is_zero_vartime() { - match index { - Variable(Index::Input(i)) => { + match index.get_unchecked() { + Index::Input(i) => { tmp = input_assignment[i]; if let Some(ref mut v) = input_density { v.inc(i); } } - Variable(Index::Aux(i)) => { + Index::Aux(i) => { tmp = aux_assignment[i]; if let Some(ref mut v) = aux_density { v.inc(i); @@ -83,7 +83,9 @@ impl ConstraintSystem for ProvingAssignment { self.a_aux_density.add_element(); self.b_aux_density.add_element(); - Ok(Variable(Index::Aux(self.aux_assignment.len() - 1))) + Ok(Variable::new_unchecked(Index::Aux( + self.aux_assignment.len() - 1, + ))) } fn alloc_input(&mut self, _: A, f: F) -> Result @@ -95,7 +97,9 @@ impl ConstraintSystem for ProvingAssignment { self.input_assignment.push(f()?); self.b_input_density.add_element(); - Ok(Variable(Index::Input(self.input_assignment.len() - 1))) + Ok(Variable::new_unchecked(Index::Input( + self.input_assignment.len() - 1, + ))) } fn enforce(&mut self, _: A, a: LA, b: LB, c: LC) @@ -202,7 +206,12 @@ where circuit.synthesize(&mut prover)?; for i in 0..prover.input_assignment.len() { - prover.enforce(|| "", |lc| lc + Variable(Index::Input(i)), |lc| lc, |lc| lc); + prover.enforce( + || "", + |lc| lc + Variable::new_unchecked(Index::Input(i)), + |lc| lc, + |lc| lc, + ); } let worker = Worker::new(); diff --git a/src/groth16/tests/dummy_engine.rs b/groth16/src/tests/dummy_engine.rs similarity index 100% rename from src/groth16/tests/dummy_engine.rs rename to groth16/src/tests/dummy_engine.rs diff --git a/src/groth16/tests/mod.rs b/groth16/src/tests/mod.rs similarity index 99% rename from src/groth16/tests/mod.rs rename to groth16/src/tests/mod.rs index d43e6bf23..28ea6fedd 100644 --- a/src/groth16/tests/mod.rs +++ b/groth16/src/tests/mod.rs @@ -6,7 +6,7 @@ use self::dummy_engine::*; use std::marker::PhantomData; use std::ops::{AddAssign, MulAssign, SubAssign}; -use crate::{Circuit, ConstraintSystem, SynthesisError}; +use bellman::{Circuit, ConstraintSystem, SynthesisError}; use super::{create_proof, generate_parameters, prepare_verifying_key, verify_proof}; diff --git a/src/groth16/verifier.rs b/groth16/src/verifier.rs similarity index 98% rename from src/groth16/verifier.rs rename to groth16/src/verifier.rs index 607eb70f1..83d35e3be 100644 --- a/src/groth16/verifier.rs +++ b/groth16/src/verifier.rs @@ -4,7 +4,7 @@ use std::ops::{AddAssign, Neg}; use super::{PreparedVerifyingKey, Proof, VerifyingKey}; -use crate::VerificationError; +use bellman::VerificationError; pub mod batch; diff --git a/src/groth16/verifier/batch.rs b/groth16/src/verifier/batch.rs similarity index 99% rename from src/groth16/verifier/batch.rs rename to groth16/src/verifier/batch.rs index 274cd0a6c..eddbb41b7 100644 --- a/src/groth16/verifier/batch.rs +++ b/groth16/src/verifier/batch.rs @@ -17,6 +17,7 @@ use std::ops::AddAssign; +use bellman::VerificationError; use ff::Field; use group::{Curve, Group}; use pairing::{MillerLoopResult, MultiMillerLoop}; @@ -28,10 +29,7 @@ use rand_core::OsRng; #[cfg(feature = "multicore")] use rayon::{iter::ParallelIterator, prelude::ParallelSlice}; -use crate::{ - groth16::{PreparedVerifyingKey, Proof, VerifyingKey}, - VerificationError, -}; +use crate::{PreparedVerifyingKey, Proof, VerifyingKey}; /// A batch verification item. /// diff --git a/tests/common/mod.rs b/groth16/tests/common/mod.rs similarity index 100% rename from tests/common/mod.rs rename to groth16/tests/common/mod.rs diff --git a/tests/mimc.rs b/groth16/tests/mimc.rs similarity index 99% rename from tests/mimc.rs rename to groth16/tests/mimc.rs index ce0a28054..bf6df815e 100644 --- a/tests/mimc.rs +++ b/groth16/tests/mimc.rs @@ -11,7 +11,7 @@ use ff::Field; use bls12_381::{Bls12, Scalar}; // We're going to use the Groth16 proving system. -use bellman::groth16::{ +use groth16::{ batch, create_random_proof, generate_random_parameters, prepare_verifying_key, verify_proof, Proof, }; diff --git a/src/lib.rs b/src/lib.rs index 6277ff3c6..dc851c8cf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,11 +20,10 @@ //! multipack, //! sha256::sha256, //! }, -//! groth16, Circuit, ConstraintSystem, SynthesisError, +//! Circuit, ConstraintSystem, SynthesisError, //! }; //! use bls12_381::Bls12; //! use ff::PrimeField; -//! use pairing::Engine; //! use rand::rngs::OsRng; //! use sha2::{Digest, Sha256}; //! @@ -139,8 +138,6 @@ pub mod domain; pub mod gadgets; -#[cfg(feature = "groth16")] -pub mod groth16; pub mod multicore; pub mod multiexp; From c4672fc2aa5e1e30f5b144df89faf2485278cb8d Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 15 Jul 2024 18:53:35 +0000 Subject: [PATCH 3/3] groth16 0.1.0 --- Cargo.lock | 2 +- groth16/CHANGELOG.md | 2 ++ groth16/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cc09cbbd4..dd6e5a269 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,7 +346,7 @@ dependencies = [ [[package]] name = "groth16" -version = "0.0.0" +version = "0.1.0" dependencies = [ "bellman", "bls12_381", diff --git a/groth16/CHANGELOG.md b/groth16/CHANGELOG.md index 121701a84..edb8b8dbb 100644 --- a/groth16/CHANGELOG.md +++ b/groth16/CHANGELOG.md @@ -6,4 +6,6 @@ and this project adheres to Rust's notion of [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [0.1.0] - 2024-07-15 Initial release (moved from `bellman::groth16`) diff --git a/groth16/Cargo.toml b/groth16/Cargo.toml index bacae5f41..5c33ced92 100644 --- a/groth16/Cargo.toml +++ b/groth16/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "groth16" -version = "0.0.0" +version = "0.1.0" authors = [ "Sean Bowe ", "Jack Grigg ",