mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +00:00
Raise MSRV to 1.63
This commit is contained in:
parent
df67e299e6
commit
27f0d1ef1d
5 changed files with 5 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ and this project adheres to Rust's notion of
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Changed
|
### Changed
|
||||||
- MSRV is now 1.60.0.
|
- MSRV is now 1.63.0.
|
||||||
|
|
||||||
## [0.5.1] - 2023-03-02
|
## [0.5.1] - 2023-03-02
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ authors = [
|
||||||
"Jack Grigg <jack@electriccoin.co>",
|
"Jack Grigg <jack@electriccoin.co>",
|
||||||
]
|
]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.60"
|
rust-version = "1.63"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
repository = "https://github.com/zcash/pasta_curves"
|
repository = "https://github.com/zcash/pasta_curves"
|
||||||
documentation = "https://docs.rs/pasta_curves"
|
documentation = "https://docs.rs/pasta_curves"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ If you want to propose "substantial" changes to this crate, please
|
||||||
|
|
||||||
## Minimum Supported Rust Version
|
## Minimum Supported Rust Version
|
||||||
|
|
||||||
Requires Rust **1.60** or higher.
|
Requires Rust **1.63** or higher.
|
||||||
|
|
||||||
Minimum supported Rust version can be changed in the future, but it will be done with a
|
Minimum supported Rust version can be changed in the future, but it will be done with a
|
||||||
minor version bump.
|
minor version bump.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.60.0"
|
channel = "1.63.0"
|
||||||
components = [ "clippy", "rustfmt" ]
|
components = [ "clippy", "rustfmt" ]
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@ pub trait CurveExt:
|
||||||
/// (g * x + &(h * r)).to_affine()
|
/// (g * x + &(h * r)).to_affine()
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
#[allow(clippy::type_complexity)]
|
||||||
fn hash_to_curve<'a>(domain_prefix: &'a str) -> Box<dyn Fn(&[u8]) -> Self + 'a>;
|
fn hash_to_curve<'a>(domain_prefix: &'a str) -> Box<dyn Fn(&[u8]) -> Self + 'a>;
|
||||||
|
|
||||||
/// Returns whether or not this element is on the curve; should
|
/// Returns whether or not this element is on the curve; should
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue