Merge pull request #57 from zcash/release-0.5.0

Release 0.5.0
This commit is contained in:
str4d 2022-12-06 04:40:58 +00:00 committed by GitHub
commit 4c94f3974e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 7 deletions

View File

@ -6,8 +6,22 @@ and this project adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.5.0] - 2022-12-06
### Added
- `serde` feature flag, which enables Serde compatibility to the crate types.
Field elements and points are serialized to their canonical byte encoding
(encoded as hexadecimal if the data format is human readable).
### Changed
- Migrated to `ff 0.13`, `group 0.13`.
- Migrated to `ff 0.13`, `group 0.13`, `ec-gpu 0.2`.
- `pasta_curves::arithmetic`:
- `FieldExt` bounds on associated types of `CurveExt` and `CurveAffine` have
been replaced by bounds on `ff::WithSmallOrderMulGroup<3>` (and `Ord` in the
case of `CurveExt`).
- `pasta_curves::hashtocurve`:
- `FieldExt` bounds on the module functions have been replaced by equivalent
`ff` trait bounds.
### Removed
- `pasta_curves::arithmetic`:

View File

@ -1,7 +1,7 @@
[package]
name = "pasta_curves"
description = "Implementation of the Pallas and Vesta (Pasta) curve cycle"
version = "0.4.1"
version = "0.5.0"
authors = [
"Sean Bowe <sean@electriccoin.co>",
"Ying Tong Lai <yingtong@electriccoin.co>",
@ -44,8 +44,8 @@ harness = false
required-features = ["alloc"]
[dependencies]
ff = { version = "0.12", default-features = false }
group = { version = "0.12", default-features = false }
ff = { version = "0.13", default-features = false }
group = { version = "0.13", default-features = false }
rand = { version = "0.8", default-features = false }
static_assertions = "1.1.0"
subtle = { version = "2.3", default-features = false }
@ -72,6 +72,3 @@ sqrt-table = ["alloc", "lazy_static"]
repr-c = []
uninline-portable = []
serde = ["hex", "serde_crate"]
[patch.crates-io]
ff = { git = "https://github.com/zkcrypto/ff.git", rev = "054a4d2daf9a9540d4c436fa51f0222e997ad15c" }