-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* intermediate commit * building passing * tests passing * cargo fmt * Address comments * Improve checks * Format * Fix CI for no-std * Update CHANGELOG * Fix no-std Co-authored-by: Marcin Gorny <[email protected]> * Revert CI change * Fix CI for merge groups --------- Co-authored-by: nikkolasg <[email protected]> Co-authored-by: Nicolas Gailly <[email protected]> Co-authored-by: Marcin Gorny <[email protected]>
- Loading branch information
1 parent
88c97d2
commit 7be889a
Showing
23 changed files
with
980 additions
and
1,266 deletions.
There are no files selected for viewing
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,5 +1,6 @@ | ||
name: CI | ||
on: | ||
merge_group: | ||
pull_request: | ||
push: | ||
branches: | ||
|
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
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,16 +1,6 @@ | ||
[package] | ||
name = "ark-poly-commit" | ||
version = "0.3.0" | ||
authors = [ | ||
"Alessandro Chiesa <[email protected]>", | ||
"Mary Maller <[email protected]>", | ||
"Yuncong Hu <[email protected]>", | ||
"William Lin", | ||
"Pratyush Mishra <[email protected]>", | ||
"Noah Vesely <[email protected]>", | ||
"Nicholas Ward <[email protected]>", | ||
"arkworks contributors" | ||
] | ||
version = "0.4.0" | ||
description = "A library for constructing polynomial commitment schemes for use in zkSNARKs" | ||
repository = "https://github.com/arkworks-rs/poly-commit" | ||
documentation = "https://docs.rs/ark-poly-commit/" | ||
|
@@ -21,26 +11,26 @@ license = "MIT/Apache-2.0" | |
edition = "2018" | ||
|
||
[dependencies] | ||
ark-serialize = { version = "^0.3.0", default-features = false, features = [ "derive" ] } | ||
ark-ff = { version = "^0.3.0", default-features = false } | ||
ark-ec = { version = "^0.3.0", default-features = false } | ||
ark-poly = {version = "^0.3.0", default-features = false } | ||
ark-sponge = {version = "^0.3.0", default-features = false} | ||
|
||
ark-std = { version = "^0.3.0", default-features = false } | ||
ark-relations = { version = "^0.3.0", default-features = false, optional = true } | ||
ark-r1cs-std = { version = "^0.3.0", default-features = false, optional = true } | ||
hashbrown = { version = "0.9", optional = true } | ||
|
||
digest = "0.9" | ||
rayon = { version = "1", optional = true } | ||
ark-serialize = { version = "^0.4.0", default-features = false, features = [ "derive" ] } | ||
ark-ff = { version = "^0.4.0", default-features = false } | ||
ark-ec = { version = "^0.4.0", default-features = false } | ||
ark-poly = {version = "^0.4.0", default-features = false } | ||
ark-crypto-primitives = {version = "^0.4.0", default-features = false, features = ["sponge"] } | ||
ark-std = { version = "^0.4.0", default-features = false } | ||
|
||
ark-relations = { version = "^0.4.0", default-features = false, optional = true } | ||
ark-r1cs-std = { version = "^0.4.0", default-features = false, optional = true } | ||
hashbrown = { version = "0.13", default-features = false, optional = true } | ||
|
||
digest = "0.10" | ||
derivative = { version = "2", features = [ "use_core" ] } | ||
rayon = { version = "1", optional = true } | ||
|
||
[dev-dependencies] | ||
ark-ed-on-bls12-381 = { version = "^0.3.0", default-features = false } | ||
ark-bls12-381 = { version = "^0.3.0", default-features = false, features = [ "curve" ] } | ||
ark-bls12-377 = { version = "^0.3.0", default-features = false, features = [ "curve" ] } | ||
blake2 = { version = "0.9", default-features = false } | ||
ark-ed-on-bls12-381 = { version = "^0.4.0", default-features = false } | ||
ark-bls12-381 = { version = "^0.4.0", default-features = false, features = [ "curve" ] } | ||
ark-bls12-377 = { version = "^0.4.0", default-features = false, features = [ "curve" ] } | ||
blake2 = { version = "0.10", default-features = false } | ||
rand_chacha = { version = "0.3.0", default-features = false } | ||
|
||
[profile.release] | ||
|
@@ -55,22 +45,9 @@ debug-assertions = true | |
incremental = true | ||
debug = true | ||
|
||
# To be removed in the new release. | ||
[patch.crates-io] | ||
ark-std = { git = "https://github.com/arkworks-rs/std" } | ||
ark-ec = { git = "https://github.com/arkworks-rs/algebra" } | ||
ark-ff = { 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" } | ||
ark-bls12-381 = { git = "https://github.com/arkworks-rs/curves" } | ||
ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves" } | ||
ark-ed-on-bls12-381 = { git = "https://github.com/arkworks-rs/curves" } | ||
ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std" } | ||
ark-sponge = { git = "https://github.com/arkworks-rs/sponge" } | ||
|
||
[features] | ||
default = [ "std", "parallel" ] | ||
std = [ "ark-ff/std", "ark-ec/std", "ark-poly/std", "ark-std/std", "ark-relations/std", "ark-serialize/std", "ark-sponge/std"] | ||
r1cs = [ "ark-relations", "ark-r1cs-std", "hashbrown", "ark-sponge/r1cs"] | ||
std = [ "ark-ff/std", "ark-ec/std", "ark-poly/std", "ark-std/std", "ark-relations/std", "ark-serialize/std", "ark-crypto-primitives/std"] | ||
r1cs = [ "ark-relations", "ark-r1cs-std", "hashbrown", "ark-crypto-primitives/r1cs"] | ||
print-trace = [ "ark-std/print-trace" ] | ||
parallel = [ "std", "ark-ff/parallel", "ark-ec/parallel", "ark-poly/parallel", "ark-std/parallel", "rayon" ] |
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
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
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
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.