Merge pull request #758 from zcash/release-0.3.0

Release 0.3.0 of halo2_proofs and halo2_gadgets
This commit is contained in:
ebfull 2023-03-22 12:32:26 -06:00 committed by GitHub
commit 2633567840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

View File

@ -19,7 +19,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"] rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]
[dependencies] [dependencies]
halo2_proofs = { version = "0.2", path = "../halo2_proofs", default-features = false } halo2_proofs = { version = "0.3", path = "../halo2_proofs", default-features = false }
[lib] [lib]
bench = false bench = false

View File

@ -6,11 +6,13 @@ and this project adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
## [0.3.0] - 2023-03-21
### Added ### Added
- `halo2_gadgets::poseidon::primitives::{Mds, generate_constants}` - `halo2_gadgets::poseidon::primitives::{Mds, generate_constants}`
### Changed ### Changed
- Migrated to `ff 0.13`, `group 0.13`, `pasta_curves 0.5`. - Migrated to `ff 0.13`, `group 0.13`, `pasta_curves 0.5` and `halo2_proofs 0.3`.
- APIs with `F: pasta_curves::arithmetic::FieldExt` bounds have been changed to - APIs with `F: pasta_curves::arithmetic::FieldExt` bounds have been changed to
use `ff` traits directly. use `ff` traits directly.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "halo2_gadgets" name = "halo2_gadgets"
version = "0.2.0" version = "0.3.0"
authors = [ authors = [
"Sean Bowe <sean@electriccoin.co>", "Sean Bowe <sean@electriccoin.co>",
"Jack Grigg <jack@electriccoin.co>", "Jack Grigg <jack@electriccoin.co>",
@ -26,7 +26,7 @@ arrayvec = "0.7.0"
bitvec = "1" bitvec = "1"
ff = "0.13" ff = "0.13"
group = "0.13" group = "0.13"
halo2_proofs = { version = "0.2", path = "../halo2_proofs", default-features = false } halo2_proofs = { version = "0.3", path = "../halo2_proofs", default-features = false }
lazy_static = "1" lazy_static = "1"
pasta_curves = "0.5" pasta_curves = "0.5"
proptest = { version = "1.0.0", optional = true } proptest = { version = "1.0.0", optional = true }

View File

@ -6,6 +6,8 @@ and this project adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
## [0.3.0] - 2023-03-21
### Breaking circuit changes ### Breaking circuit changes
- `halo2_proofs::circuit::floor_planner::V1` was relying internally on the Rust - `halo2_proofs::circuit::floor_planner::V1` was relying internally on the Rust
standard library's [`slice::sort_unstable_by_key`]; while it is deterministic, standard library's [`slice::sort_unstable_by_key`]; while it is deterministic,
@ -28,6 +30,9 @@ and this project adheres to Rust's notion of
### Added ### Added
- The following structs now derive the `Eq` trait: - The following structs now derive the `Eq` trait:
- `halo2_proofs::dev`: - `halo2_proofs::dev`:
- `TracingFloorPlanner` extension type which is a floor planner that uses
`tracing` spans and events for instrumenting your circuit synthesis
during keygen and proving.
- `failure::FailureLocation` - `failure::FailureLocation`
- `failure::VerifyFailure` - `failure::VerifyFailure`
- `metadata::Gate` - `metadata::Gate`

View File

@ -1,6 +1,6 @@
[package] [package]
name = "halo2_proofs" name = "halo2_proofs"
version = "0.2.0" version = "0.3.0"
authors = [ authors = [
"Sean Bowe <sean@electriccoin.co>", "Sean Bowe <sean@electriccoin.co>",
"Ying Tong Lai <yingtong@electriccoin.co>", "Ying Tong Lai <yingtong@electriccoin.co>",