diff --git a/Cargo.toml b/Cargo.toml index e7340958b..3d88a3c90 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.1" +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", 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", 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 2729f8eb8..7af412eeb 100644 --- a/relations/Cargo.toml +++ b/relations/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "ark-relations" -version = "0.4.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.4.0", default-features = false } -ark-std = { version = "0.4.0", 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.4.0", 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 608c788ef..b14a88ee6 100644 --- a/snark/Cargo.toml +++ b/snark/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "ark-snark" -version = "0.4.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.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.workspace = true +ark-std.workspace = true +ark-serialize.workspace = true +ark-relations = { version = "0.5", path = "../relations", default-features = false }