From 89b9345dc018d9bdb3d385aefd2036d5e42e9f17 Mon Sep 17 00:00:00 2001 From: Alex Xiong Date: Thu, 25 Jul 2024 21:16:03 +0800 Subject: [PATCH] chore: use tag for inter-dep among member crates (#639) * use tag for inter-dep among member crates * bump jf-signatures to v0.1.1 --- aead/Cargo.toml | 2 +- elgamal/Cargo.toml | 6 +++--- merkle_tree/Cargo.toml | 6 +++--- pcs/Cargo.toml | 2 +- plonk/Cargo.toml | 10 +++++----- relation/Cargo.toml | 2 +- rescue/Cargo.toml | 10 +++++----- signature/CHANGELOG.md | 6 ++++++ signature/Cargo.toml | 10 +++++----- vid/Cargo.toml | 8 ++++---- vrf/Cargo.toml | 4 ++-- 11 files changed, 36 insertions(+), 30 deletions(-) diff --git a/aead/Cargo.toml b/aead/Cargo.toml index 6c8077294..b014a3ac8 100644 --- a/aead/Cargo.toml +++ b/aead/Cargo.toml @@ -24,7 +24,7 @@ serde = { workspace = true } [dev-dependencies] bincode = "1.3" -jf-utils = { path = "../utilities" } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5" } rand_chacha = { workspace = true } [features] diff --git a/elgamal/Cargo.toml b/elgamal/Cargo.toml index 62125c5f4..3bc087034 100644 --- a/elgamal/Cargo.toml +++ b/elgamal/Cargo.toml @@ -17,8 +17,8 @@ ark-serialize = { workspace = true } ark-std = { workspace = true } derivative = { workspace = true } displaydoc = { workspace = true } -jf-relation = { path = "../relation", optional = true, default-features = false } -jf-rescue = { path = "../rescue", default-features = false } +jf-relation = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", optional = true, default-features = false } +jf-rescue = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } rayon = { version = "1.5.0", optional = true } zeroize = { version = "1.5", default-features = false } @@ -27,7 +27,7 @@ ark-ed-on-bls12-377 = "0.4.0" ark-ed-on-bls12-381 = "0.4.0" ark-ed-on-bls12-381-bandersnatch = "0.4.0" ark-ed-on-bn254 = "0.4.0" -jf-utils = { path = "../utilities" } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5" } [features] default = ["parallel"] diff --git a/merkle_tree/Cargo.toml b/merkle_tree/Cargo.toml index b1044e8b6..ad0755ddc 100644 --- a/merkle_tree/Cargo.toml +++ b/merkle_tree/Cargo.toml @@ -23,9 +23,9 @@ digest = { workspace = true } displaydoc = { workspace = true } hashbrown = { workspace = true } itertools = { workspace = true, features = ["use_alloc"] } -jf-relation = { path = "../relation", optional = true, default-features = false } -jf-rescue = { path = "../rescue", default-features = false } -jf-utils = { path = "../utilities", default-features = false } +jf-relation = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", optional = true, default-features = false } +jf-rescue = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } num-bigint = { workspace = true } num-traits = { version = "0.2.15", default-features = false } serde = { workspace = true } diff --git a/pcs/Cargo.toml b/pcs/Cargo.toml index 263a61820..52a4fe8c5 100644 --- a/pcs/Cargo.toml +++ b/pcs/Cargo.toml @@ -24,7 +24,7 @@ icicle-bn254 = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.5 icicle-core = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.5.1", optional = true } icicle-cuda-runtime = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.5.1", optional = true } itertools = { workspace = true, features = ["use_alloc"] } -jf-utils = { path = "../utilities", default-features = false } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } merlin = { workspace = true } rayon = { version = "1.5.0", optional = true } diff --git a/plonk/Cargo.toml b/plonk/Cargo.toml index de05c7bcf..ceec852e5 100644 --- a/plonk/Cargo.toml +++ b/plonk/Cargo.toml @@ -20,11 +20,11 @@ dyn-clone = "^1.0" espresso-systems-common = { git = "https://github.com/espressosystems/espresso-systems-common", tag = "0.4.0" } hashbrown = { workspace = true } itertools = { workspace = true } -jf-crhf = { path = "../crhf", default-features = false } -jf-pcs = { path = "../pcs", default-features = false } -jf-relation = { path = "../relation", default-features = false } -jf-rescue = { path = "../rescue", default-features = false, features = ["gadgets"] } -jf-utils = { path = "../utilities", default-features = false } +jf-crhf = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-pcs = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-relation = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-rescue = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false, features = ["gadgets"] } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } merlin = { workspace = true } num-bigint = { workspace = true } rand_chacha = { workspace = true } diff --git a/relation/Cargo.toml b/relation/Cargo.toml index 538aa9a8f..afc5f5d1a 100644 --- a/relation/Cargo.toml +++ b/relation/Cargo.toml @@ -23,7 +23,7 @@ downcast-rs = { version = "1.2.0", default-features = false } dyn-clone = "^1.0" hashbrown = { workspace = true } itertools = { workspace = true } -jf-utils = { path = "../utilities", default-features = false } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } num-bigint = { workspace = true } rand_chacha = { workspace = true } rayon = { version = "1.5.0", optional = true } diff --git a/rescue/Cargo.toml b/rescue/Cargo.toml index aee943c30..81044a053 100644 --- a/rescue/Cargo.toml +++ b/rescue/Cargo.toml @@ -25,11 +25,11 @@ ark-ff = { workspace = true } ark-std = { workspace = true } displaydoc = { workspace = true } itertools = { workspace = true } -jf-commitment = { path = "../commitment", default-features = false } -jf-crhf = { path = "../crhf", default-features = false } -jf-prf = { path = "../prf", default-features = false } -jf-relation = { path = "../relation", optional = true, default-features = false } -jf-utils = { path = "../utilities", default-features = false } +jf-commitment = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-crhf = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-prf = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-relation = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", optional = true, default-features = false } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } [dev-dependencies] ark-ed-on-bls12-381-bandersnatch = "0.4.0" diff --git a/signature/CHANGELOG.md b/signature/CHANGELOG.md index a2d930ace..aabdc6c29 100644 --- a/signature/CHANGELOG.md +++ b/signature/CHANGELOG.md @@ -3,6 +3,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.1]((https://github.com/EspressoSystems/jellyfish/compare/0.4.5...jf-signatures-v0.1.1)) (2024-07-25) + +### Changed + +- [#586](https://github.com/EspressoSystems/jellyfish/pull/586) Omit private keys from logging and debug output. + ## 0.1.0 - Initial release. Carved out from `jf-primitives`. diff --git a/signature/Cargo.toml b/signature/Cargo.toml index 2329e9f5a..4b8856de4 100644 --- a/signature/Cargo.toml +++ b/signature/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jf-signature" -version = "0.1.0" +version = "0.1.1" description = "Implementation of signature schemes, including BLS and Schnorr." authors = { workspace = true } edition = { workspace = true } @@ -23,10 +23,10 @@ digest = { workspace = true } displaydoc = { workspace = true } hashbrown = { workspace = true } itertools = { workspace = true } -jf-crhf = { path = "../crhf", default-features = false } -jf-relation = { path = "../relation", optional = true, default-features = false } -jf-rescue = { path = "../rescue", default-features = false } -jf-utils = { path = "../utilities", default-features = false } +jf-crhf = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-relation = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", optional = true, default-features = false } +jf-rescue = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } num-bigint = { workspace = true } num-traits = { version = "0.2.15", default-features = false } serde = { workspace = true } diff --git a/vid/Cargo.toml b/vid/Cargo.toml index d6f1810ac..a8e9fb54e 100644 --- a/vid/Cargo.toml +++ b/vid/Cargo.toml @@ -24,9 +24,9 @@ generic-array = { version = "0", features = [ "serde", ] } # not a direct dependency, but we need serde itertools = { workspace = true, features = ["use_alloc"] } -jf-merkle-tree = { path = "../merkle_tree", default-features = false } -jf-pcs = { path = "../pcs", default-features = false } -jf-utils = { path = "../utilities", default-features = false } +jf-merkle-tree = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-pcs = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } rayon = { version = "1.5.0", optional = true } serde = { workspace = true } tagged-base64 = { workspace = true } @@ -38,7 +38,7 @@ ark-ed-on-bls12-377 = "0.4.0" ark-ed-on-bls12-381 = "0.4.0" ark-ed-on-bn254 = "0.4.0" criterion = "0.5.1" -jf-pcs = { path = "../pcs", features = ["test-srs"] } +jf-pcs = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", features = ["test-srs"] } sha2 = "0.10" [[bench]] diff --git a/vrf/Cargo.toml b/vrf/Cargo.toml index d6f982f9a..7322fc656 100644 --- a/vrf/Cargo.toml +++ b/vrf/Cargo.toml @@ -14,13 +14,13 @@ repository = { workspace = true } ark-std = { workspace = true } digest = { version = "0.10.1", default-features = false, features = ["alloc"] } displaydoc = { workspace = true } -jf-signature = { path = "../signature", default-features = false, features = [ "bls" ] } +jf-signature = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false, features = [ "bls" ] } serde = { workspace = true } sha2 = { workspace = true } zeroize = { version = "1.5", default-features = false } [dev-dependencies] -jf-utils = { path = "../utilities", default-features = false } +jf-utils = { git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false } [features] default = ["parallel"]