pasta_curves 0.3.1

This commit is contained in:
Jack Grigg 2022-04-20 11:15:43 +00:00
parent 43d4496d6b
commit 94d6a8be03
2 changed files with 11 additions and 6 deletions

View file

@ -6,14 +6,19 @@ 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.1] - 2022-04-20
### Added ### Added
- Add `repr-c` cargo feature to facilitate FFI by conditionally adding - `gpu` feature flag, which exposes implementations of the `GpuField` trait from
`repr(C)` attribute to point structures. the `ec-gpu` crate for `pasta_curves::{Fp, Fq}`. This flag will eventually
control all GPU functionality.
- `repr-c` feature flag, which helps to facilitate usage of this crate's types
across FFI by conditionally adding `repr(C)` attribute to point structures.
- `pasta_curves::arithmetic::Coordinates::from_xy`
### Changed ### Changed
- Add `repr(transparent)` attribute to Fp/Fq structures. - `pasta_curves::{Fp, Fq}` are now declared as `repr(transparent)`, to enable
- Omit 'infinity' field from affine coordinates structures and use (0, 0) their use across FFI. They remain opaque structs in Rust code.
to denote the identity points.
## [0.3.0] - 2022-01-03 ## [0.3.0] - 2022-01-03
### Added ### Added

View file

@ -1,7 +1,7 @@
[package] [package]
name = "pasta_curves" name = "pasta_curves"
description = "Implementation of the Pallas and Vesta (Pasta) curve cycle" description = "Implementation of the Pallas and Vesta (Pasta) curve cycle"
version = "0.3.0" version = "0.3.1"
authors = [ authors = [
"Sean Bowe <sean@electriccoin.co>", "Sean Bowe <sean@electriccoin.co>",
"Ying Tong Lai <yingtong@electriccoin.co>", "Ying Tong Lai <yingtong@electriccoin.co>",