-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from paritytech/davxy-refactory
Workspace deps
- Loading branch information
Showing
12 changed files
with
179 additions
and
158 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,40 @@ | ||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"bls12_381", | ||
"bls12_377", | ||
"ed_on_bls12_377", | ||
"bw6_761", | ||
"bls12_381", | ||
"ed_on_bls12_377", | ||
"ed_on_bls12_381_bandersnatch", | ||
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "0.4.1-beta" | ||
authors = [ | ||
"Parity Technologies <[email protected]>", | ||
"Achim Schneider <[email protected]>", | ||
"Davide Galassi <[email protected]>" | ||
] | ||
repository = "https://github.com/paritytech/substrate-curves" | ||
keywords = ["cryptography", "elliptic-curves", "pairing", "arkworks", "substrate"] | ||
categories = ["cryptography"] | ||
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2021" | ||
|
||
|
||
[workspace.dependencies] | ||
ark-std = { version = "0.4.0", default-features = false } | ||
sp-ark-bls12-377 = { git = "https://github.com/paritytech/ark-substrate", default-features = false, features = ["scale-fast"] } | ||
sp-ark-bls12-381 = { git = "https://github.com/paritytech/ark-substrate", default-features = false, features = ["scale-fast"] } | ||
sp-ark-bw6-761 = { git = "https://github.com/paritytech/ark-substrate", default-features = false, features = ["scale-fast"] } | ||
sp-ark-ed-on-bls12-377 = { git = "https://github.com/paritytech/ark-substrate", default-features = false, features = ["scale-fast"] } | ||
sp-ark-ed-on-bls12-381-bandersnatch = { git = "https://github.com/paritytech/ark-substrate", default-features = false, features = ["scale-fast"] } | ||
sp-crypto-ec-utils = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false } | ||
ark-algebra-test-templates = { version = "0.4.2", default-features = false } | ||
ark-ff = { version = "0.4.2", default-features = false } | ||
ark-ec = { version = "0.4.2", default-features = false } | ||
ark-serialize = { version = "0.4.2", default-features = false } | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
[package] | ||
name = "sp-bls12-377" | ||
version = "0.4.0-alpha" | ||
authors = ["Parity Technologies <[email protected]>", "Achim Schneider <[email protected]>", "arkworks contributors" ] | ||
repository = "https://github.com/paritytech/substrate-curves" | ||
description = "The BLS12-377 pairing-friendly elliptic curve, optimized for Substrate" | ||
keywords = ["cryptography", "finite-fields", "elliptic-curves", "substrate" ] | ||
categories = ["cryptography"] | ||
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] | ||
license = "MIT/Apache-2.0" | ||
edition = "2021" | ||
version.workspace = true | ||
authors.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
include.workspace = true | ||
license.workspace = true | ||
edition.workspace = true | ||
|
||
[dependencies] | ||
sp-ark-bls12-377 = { git = "https://github.com/paritytech/ark-substrate", default-features = false, features = ["scale-fast"] } | ||
sp-crypto-ec-utils = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false } | ||
ark-std = { version = "0.4.0", default-features = false } | ||
sp-ark-bls12-377.workspace = true | ||
ark-std.workspace = true | ||
sp-crypto-ec-utils.workspace = true | ||
|
||
[dev-dependencies] | ||
ark-ff = { version = "0.4.2", default-features = false } | ||
ark-ec = { version = "0.4.2", default-features = false } | ||
ark-algebra-test-templates = { version = "0.4.2", default-features = false } | ||
ark-serialize = { version = "0.4.2", default-features = false } | ||
ark-ff.workspace = true | ||
ark-ec.workspace = true | ||
ark-serialize.workspace = true | ||
ark-algebra-test-templates.workspace = true | ||
|
||
[features] | ||
default = [ "std" ] | ||
std = [ | ||
"sp-ark-bls12-377/std", | ||
"sp-crypto-ec-utils/std", | ||
"ark-std/std", | ||
"ark-ff/std", | ||
"ark-ec/std", | ||
std = [ | ||
"ark-algebra-test-templates/std", | ||
"ark-ec/std", | ||
"ark-ff/std", | ||
"ark-serialize/std", | ||
"ark-std/std", | ||
"sp-ark-bls12-377/std", | ||
"sp-crypto-ec-utils/std", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.