Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curves: start homogeneizing cargo toml #856

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions curves/bls12_377/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
[package]
name = "ark-bls12-377"
version = "0.4.0"
authors = [ "arkworks contributors" ]
description = "The BLS12-377 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
repository = "https://github.com/arkworks-rs/algebra"
version.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
categories.workspace = true
include.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
metadata.docs.rs.workspace = true
metadata.release.workspace = true
documentation = "https://docs.rs/ark-bls12-377/"
keywords = ["cryptography", "finite-fields", "elliptic-curves" ]
categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
ark-ff = { version= "0.4.0", default-features = false }
ark-ec = { version= "0.4.0", default-features = false }
ark-r1cs-std = { version= "0.4.0", default-features = false, optional = true }
ark-std = { version = "0.4.0", default-features = false }
ark-ff.workspace = true
ark-ec.workspace = true
ark-r1cs-std.workspace = true
ark-std.workspace = true

[dev-dependencies]
ark-relations = { version= "0.4.0", default-features = false }
ark-serialize = { version = "0.4.0", default-features = false }
ark-algebra-test-templates = { version = "0.4.0", default-features = false }
ark-algebra-bench-templates = { version = "0.4.0", default-features = false }
ark-relations.workspace = true
ark-serialize.workspace = true
ark-algebra-test-templates.workspace = true
ark-algebra-bench-templates.workspace = true
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }
sha2 = { version = "0.10", default-features = false }
sha2.workspace = true

[features]
default = [ "curve" ]
Expand Down
33 changes: 18 additions & 15 deletions curves/bls12_381/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
[package]
name = "ark-bls12-381"
version = "0.4.0"
authors = [ "arkworks contributors" ]
version.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
categories.workspace = true
include.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
metadata.docs.rs.workspace = true
metadata.release.workspace = true
description = "The BLS12-381 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
repository = "https://github.com/arkworks-rs/algebra"
documentation = "https://docs.rs/ark-bls12-381/"
keywords = ["cryptography", "finite-fields", "elliptic-curves" ]
categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
ark-ff = { version= "0.4.0", default-features = false }
ark-ec = { version= "0.4.0" }
ark-std = { version = "0.4.0", default-features = false }
ark-serialize = { version = "0.4.0", default-features = false }
ark-ff.workspace = true
ark-ec.workspace = true
ark-std.workspace = true
ark-serialize.workspace = true

[dev-dependencies]
ark-algebra-test-templates = { version = "0.4.0", default-features = false }
ark-algebra-bench-templates = { version = "0.4.0", default-features = false }
hex = "^0.4.0"
ark-algebra-test-templates.workspace = true
ark-algebra-bench-templates.workspace = true
hex.workspace = true

[features]
default = [ "curve" ]
Expand Down
35 changes: 19 additions & 16 deletions curves/bn254/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
[package]
name = "ark-bn254"
version = "0.4.0"
authors = [ "arkworks contributors" ]
version.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
categories.workspace = true
include.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
metadata.docs.rs.workspace = true
metadata.release.workspace = true
description = "The BN254 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
repository = "https://github.com/arkworks-rs/algebra"
documentation = "https://docs.rs/ark-bn254/"
keywords = ["cryptography", "finite-fields", "elliptic-curves" ]
categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
ark-ff = { version= "0.4.0", default-features = false }
ark-ec = { version= "0.4.0", default-features = false }
ark-std = { version = "0.4.0", default-features = false }
ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true }
ark-ff.workspace = true
ark-ec.workspace = true
ark-std.workspace = true
ark-r1cs-std.workspace = true

[dev-dependencies]
ark-serialize = { version = "0.4.0", default-features = false }
ark-algebra-test-templates = { version = "0.4.0", default-features = false }
ark-algebra-bench-templates = { version = "0.4.0", default-features = false }
ark-serialize.workspace = true
ark-algebra-test-templates.workspace = true
ark-algebra-bench-templates.workspace = true
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }
ark-relations = { version = "0.4.0", default-features = false }
ark-relations.workspace = true

[features]
default = [ "curve" ]
Expand Down
Loading