-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release v0.3.0 * update the CHANGELOG * add the PR template * update no_std check in CI use `aarch64-unknown-none` env instead * separate the benches Co-authored-by: Tom Shen <[email protected]>
- Loading branch information
1 parent
6a9810d
commit 3d5c532
Showing
9 changed files
with
111 additions
and
38 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺ | ||
v ✰ Thanks for creating a PR! ✰ | ||
v Before hitting that submit button please review the checkboxes. | ||
v If a checkbox is n/a - please still include it but + a little note why | ||
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --> | ||
|
||
## Description | ||
|
||
<!-- Add a description of the changes that this PR introduces and the files that | ||
are the most critical to review. | ||
--> | ||
|
||
closes: #XXXX | ||
|
||
--- | ||
|
||
Before we can merge this PR, please make sure that all the following items have been | ||
checked off. If any of the checklist items are not applicable, please leave them but | ||
write a little note why. | ||
|
||
- [ ] Targeted PR against correct branch (master) | ||
- [ ] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work. | ||
- [ ] Wrote unit tests | ||
- [ ] Updated relevant documentation in the code | ||
- [ ] Added a relevant changelog entry to the `Pending` section in `CHANGELOG.md` | ||
- [ ] Re-reviewed `Files changed` in the Github PR explorer |
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,3 +1,4 @@ | ||
/sumcheck-benches/target | ||
/target | ||
Cargo.lock | ||
/.idea |
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,6 +1,6 @@ | ||
[package] | ||
name = "ark-linear-sumcheck" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = [ | ||
"Tom Shen <[email protected]>", | ||
"arkworks contributors" | ||
|
@@ -14,35 +14,19 @@ include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] | |
license = "MIT/Apache-2.0" | ||
edition = "2018" | ||
|
||
|
||
[dependencies] | ||
ark-ff = { version = "^0.2.0", default-features = false } | ||
ark-serialize = { version = "^0.2.0", default-features = false, features = ["derive"] } | ||
ark-ff = { version = "^0.3.0", default-features = false } | ||
ark-serialize = { version = "^0.3.0", default-features = false, features = ["derive"] } | ||
ark-std = { version = "^0.3.0", default-features = false } | ||
ark-poly = { version = "^0.3.0", default-features = false } | ||
blake2 = { version = "0.9", default-features = false } | ||
ark-std = { version = "^0.2.0", default-features = false } | ||
hashbrown = { version = "0.11.2" } | ||
ark-poly = { version = "^0.2.0", default-features = false} | ||
rayon = { version = "1", optional = true } | ||
criterion = {version = "0.3.1", optional = true} | ||
|
||
[dev-dependencies] | ||
ark-test-curves = { version = "^0.2.0", default-features = false, features = ["bls12_381_scalar_field", "bls12_381_curve"] } | ||
ark-test-curves = { version = "^0.3.0", default-features = false, features = ["bls12_381_scalar_field", "bls12_381_curve"] } | ||
|
||
[features] | ||
default = ["std"] | ||
std = ["ark-ff/std", "ark-serialize/std", "blake2/std", "ark-std/std", "ark-poly/std"] | ||
parallel = ["std", "ark-ff/parallel", "ark-poly/parallel", "ark-std/parallel", "rayon"] | ||
bench = ["criterion"] | ||
|
||
[[bench]] | ||
name = "ml_sumcheck" | ||
path = "benches/ml_sumcheck_bench.rs" | ||
harness = false | ||
|
||
[[bench]] | ||
name = "gkr_round_sumcheck" | ||
path = "benches/gkr_round_sumcheck_bench.rs" | ||
harness = false | ||
|
||
[lib] | ||
bench = false |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[package] | ||
name = "sumcheck-benches" | ||
version = "0.3.0" | ||
authors = [ | ||
"Tom Shen <[email protected]>", | ||
"arkworks contributors" | ||
] | ||
description = "Benchmarks for ark-linear-sumcheck" | ||
homepage = "https://arkworks.rs" | ||
repository = "https://github.com/arkworks-rs/sumcheck/" | ||
keywords = ["cryptography", "finite-fields", "polynomials", "sumcheck"] | ||
categories = ["cryptography"] | ||
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] | ||
license = "MIT/Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
|
||
[dependencies] | ||
ark-ff = { version = "^0.3.0", default-features = false } | ||
ark-std = { version = "^0.3.0", default-features = false } | ||
ark-poly = { version = "^0.3.0", default-features = false } | ||
ark-test-curves = { version = "^0.3.0", default-features = false, features = ["bls12_381_scalar_field", "bls12_381_curve"] } | ||
|
||
criterion = { version = "0.3.1" } | ||
ark-linear-sumcheck = { path = "../" } | ||
rayon = { version = "1", optional = true } | ||
|
||
[features] | ||
default = [ "std" ] | ||
std = ["ark-ff/std", "ark-std/std", "ark-poly/std"] | ||
parallel = ["std", "ark-ff/parallel", "ark-poly/parallel", "ark-std/parallel", "rayon"] | ||
|
||
[[bench]] | ||
name = "ml_sumcheck" | ||
path = "benches/ml_sumcheck_bench.rs" | ||
harness = false | ||
|
||
[[bench]] | ||
name = "gkr_round_sumcheck" | ||
path = "benches/gkr_round_sumcheck_bench.rs" | ||
harness = false |
File renamed without changes.
File renamed without changes.