diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c611da..3a08761 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`: diff --git a/Cargo.toml b/Cargo.toml index 33f3614..85db660 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 ", "Ying Tong Lai ", @@ -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" }