From 85e9908a4de111016fb5cff74cdbf595f57a680a Mon Sep 17 00:00:00 2001 From: mmagician Date: Thu, 20 Jun 2024 14:16:21 +0200 Subject: [PATCH 1/7] bump versions --- relations/Cargo.toml | 8 ++++---- snark/Cargo.toml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/relations/Cargo.toml b/relations/Cargo.toml index 2729f8eb8..faa76ac3a 100644 --- a/relations/Cargo.toml +++ b/relations/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ark-relations" -version = "0.4.0" +version = "0.5.0-alpha.0" authors = [ "arkworks contributors" ] description = "A library for rank-one constraint systems" homepage = "https://arkworks.rs" @@ -13,13 +13,13 @@ license = "MIT/Apache-2.0" edition = "2021" [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } +ark-ff = { version = "0.5.0-alpha", default-features = false } +ark-std = { version = "0.5.0-alpha", default-features = false } tracing = { version = "0.1", default-features = false } tracing-subscriber = { version = "0.2", default-features = false, optional = true } [dev-dependencies] -ark-test-curves = { version = "0.4.0", default-features = false, features = [ "bls12_381_scalar_field" ] } +ark-test-curves = { version = "0.5.0-alpha", default-features = false, features = [ "bls12_381_scalar_field" ] } [features] default = [] diff --git a/snark/Cargo.toml b/snark/Cargo.toml index 608c788ef..df83cebf5 100644 --- a/snark/Cargo.toml +++ b/snark/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ark-snark" -version = "0.4.0" +version = "0.5.0-alpha.0" authors = [ "arkworks contributors" ] description = "A library for SNARK traits" homepage = "https://arkworks.rs" @@ -13,7 +13,7 @@ license = "MIT/Apache-2.0" edition = "2021" [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-relations = { version = "0.4.0", path = "../relations", default-features = false } +ark-ff = { version = "0.5.0-alpha", default-features = false } +ark-std = { version = "0.5.0-alpha", default-features = false } +ark-serialize = { version = "0.5.0-alpha", default-features = false } +ark-relations = { version = "0.5.0-alpha", path = "../relations", default-features = false } From 68fe723d950ad47efbfdd347dca7f4defa604ecf Mon Sep 17 00:00:00 2001 From: mmagician Date: Mon, 28 Oct 2024 12:19:49 +0100 Subject: [PATCH 2/7] use workspace package attributes and dependencies --- Cargo.toml | 23 ++++++++++++++++------- relations/Cargo.toml | 22 +++++++++++----------- snark/Cargo.toml | 18 +++++++++--------- 3 files changed, 36 insertions(+), 27 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e7340958b..e6e622e3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,4 @@ [workspace] - members = [ "relations", "snark", @@ -7,6 +6,22 @@ members = [ resolver = "2" +[workspace.package] +version = "0.5.0-alpha.0" +authors = [ "arkworks contributors" ] +homepage = "https://arkworks.rs" +repository = "https://github.com/arkworks-rs/snark" +license = "MIT/Apache-2.0" +edition = "2021" + +[workspace.dependencies] +ark-ff = { version = "0.5.0-alpha", default-features = false } +ark-std = { version = "0.5.0-alpha", default-features = false } +ark-serialize = { version = "0.5.0-alpha", default-features = false } +tracing = { version = "0.1", default-features = false } +tracing-subscriber = { version = "0.2", default-features = false } +ark-test-curves = { version = "0.5.0-alpha", default-features = false } + [profile.release] opt-level = 3 lto = "thin" @@ -31,9 +46,3 @@ lto = "thin" incremental = true debug-assertions = true debug = true - -[patch.crates-io] -ark-ff = { git = "https://github.com/arkworks-rs/algebra/" } -ark-ec = { git = "https://github.com/arkworks-rs/algebra/" } -ark-poly = { git = "https://github.com/arkworks-rs/algebra/" } -ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" } \ No newline at end of file diff --git a/relations/Cargo.toml b/relations/Cargo.toml index faa76ac3a..7af412eeb 100644 --- a/relations/Cargo.toml +++ b/relations/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "ark-relations" -version = "0.5.0-alpha.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A library for rank-one constraint systems" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/snark" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-relations/" keywords = ["zero-knowledge", "cryptography", "zkSNARK", "SNARK", "constraint-systems"] categories = ["cryptography"] include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.5.0-alpha", default-features = false } -ark-std = { version = "0.5.0-alpha", default-features = false } -tracing = { version = "0.1", default-features = false } -tracing-subscriber = { version = "0.2", default-features = false, optional = true } +ark-ff.workspace = true +ark-std.workspace = true +tracing.workspace = true +tracing-subscriber = { workspace = true, optional = true } [dev-dependencies] -ark-test-curves = { version = "0.5.0-alpha", default-features = false, features = [ "bls12_381_scalar_field" ] } +ark-test-curves = { workspace = true, features = [ "bls12_381_scalar_field" ] } [features] default = [] diff --git a/snark/Cargo.toml b/snark/Cargo.toml index df83cebf5..bc6571963 100644 --- a/snark/Cargo.toml +++ b/snark/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "ark-snark" -version = "0.5.0-alpha.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A library for SNARK traits" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/snark" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-snark/" keywords = ["zero-knowledge", "cryptography", "zkSNARK", "SNARK"] categories = ["cryptography"] include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.5.0-alpha", default-features = false } -ark-std = { version = "0.5.0-alpha", default-features = false } -ark-serialize = { version = "0.5.0-alpha", default-features = false } +ark-ff.workspace = true +ark-std.workspace = true +ark-serialize.workspace = true ark-relations = { version = "0.5.0-alpha", path = "../relations", default-features = false } From 004e2f1afc1b66bf60cd82deb45c663c4dc4f111 Mon Sep 17 00:00:00 2001 From: mmagician Date: Mon, 28 Oct 2024 12:20:47 +0100 Subject: [PATCH 3/7] bump versions to 0.5 --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e6e622e3b..2f37de11f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.5.0-alpha.0" +version = "0.5.0" authors = [ "arkworks contributors" ] homepage = "https://arkworks.rs" repository = "https://github.com/arkworks-rs/snark" @@ -15,12 +15,12 @@ license = "MIT/Apache-2.0" edition = "2021" [workspace.dependencies] -ark-ff = { version = "0.5.0-alpha", default-features = false } -ark-std = { version = "0.5.0-alpha", default-features = false } -ark-serialize = { version = "0.5.0-alpha", default-features = false } +ark-ff = { version = "0.5.0", default-features = false } +ark-std = { version = "0.5.0", default-features = false } +ark-serialize = { version = "0.5.0", default-features = false } tracing = { version = "0.1", default-features = false } tracing-subscriber = { version = "0.2", default-features = false } -ark-test-curves = { version = "0.5.0-alpha", default-features = false } +ark-test-curves = { version = "0.5.0", default-features = false } [profile.release] opt-level = 3 From 5c2c780a0164002047143f3d18485afe98552af5 Mon Sep 17 00:00:00 2001 From: mmagician Date: Mon, 28 Oct 2024 12:22:36 +0100 Subject: [PATCH 4/7] bump relative dependency version --- snark/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snark/Cargo.toml b/snark/Cargo.toml index bc6571963..fcf28e7b2 100644 --- a/snark/Cargo.toml +++ b/snark/Cargo.toml @@ -16,4 +16,4 @@ edition.workspace = true ark-ff.workspace = true ark-std.workspace = true ark-serialize.workspace = true -ark-relations = { version = "0.5.0-alpha", path = "../relations", default-features = false } +ark-relations = { version = "0.5.0", path = "../relations", default-features = false } From b34f11d670c2667de3eda6e33daed8027f35043e Mon Sep 17 00:00:00 2001 From: mmagician Date: Mon, 28 Oct 2024 12:25:26 +0100 Subject: [PATCH 5/7] bump versions due to publish error --- Cargo.toml | 2 +- snark/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2f37de11f..3d88a3c90 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.5.0" +version = "0.5.1" authors = [ "arkworks contributors" ] homepage = "https://arkworks.rs" repository = "https://github.com/arkworks-rs/snark" diff --git a/snark/Cargo.toml b/snark/Cargo.toml index fcf28e7b2..b14a88ee6 100644 --- a/snark/Cargo.toml +++ b/snark/Cargo.toml @@ -16,4 +16,4 @@ edition.workspace = true ark-ff.workspace = true ark-std.workspace = true ark-serialize.workspace = true -ark-relations = { version = "0.5.0", path = "../relations", default-features = false } +ark-relations = { version = "0.5", path = "../relations", default-features = false } From 12a11b54939557c48651d3e67b09f73d9a448c69 Mon Sep 17 00:00:00 2001 From: Pratyush Mishra Date: Sat, 1 Feb 2025 05:55:53 +0530 Subject: [PATCH 6/7] Fix --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 80d38bd6b..3f602400d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ ark-std = { version = "0.5.0", default-features = false } ark-poly = { version = "0.5.0", default-features = false } ark-serialize = { version = "0.5.0", default-features = false } tracing = { version = "0.1", default-features = false } -tracing-subscriber = { version = "0.2", default-features = false } +tracing-subscriber = { version = "0.3", default-features = false } ark-test-curves = { version = "0.5.0", default-features = false } [profile.release] From 30ec942c07b42bd3592dd481f4b2bcc9657af657 Mon Sep 17 00:00:00 2001 From: Pratyush Mishra Date: Sat, 1 Feb 2025 06:00:34 +0530 Subject: [PATCH 7/7] Update --- relations/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relations/Cargo.toml b/relations/Cargo.toml index 1ccaf6d1b..120b4a7ba 100644 --- a/relations/Cargo.toml +++ b/relations/Cargo.toml @@ -17,8 +17,8 @@ ark-ff.workspace = true ark-std.workspace = true ark-poly.workspace = true ark-serialize.workspace = true -tracing.workspace = true -tracing-subscriber = { workspace = true, optional = true } +tracing = { workspace = true, features = ["attributes"] } +tracing-subscriber = { workspace = true, default-features = true, optional = true } [dev-dependencies] ark-test-curves = { workspace = true, default-features = false, features = [ "bls12_381_scalar_field" ] }