diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66219ea..686195e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: strategy: matrix: target: - - wasm32-wasi + - wasm32-wasip1 - thumbv6m-none-eabi - thumbv7em-none-eabihf steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f3dae7..74a7d5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to Rust's notion of ## [Unreleased] +## [0.24.0] - 2026-09-15 +### Changed +- MSRV is now 1.85.0. +- Bumped dependencies to `group 0.14`. + ## [0.23.0] - 2022-12-06 ### Changed - Bumped dependencies to `group 0.13`. diff --git a/Cargo.lock b/Cargo.lock index 440bfc9..b11ed30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,12 +1,12 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ff" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f" dependencies = [ "rand_core", "subtle", @@ -14,9 +14,9 @@ dependencies = [ [[package]] name = "group" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4" dependencies = [ "ff", "rand_core", @@ -25,16 +25,16 @@ dependencies = [ [[package]] name = "pairing" -version = "0.23.0" +version = "0.24.0" dependencies = [ "group", ] [[package]] name = "rand_core" -version = "0.6.4" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" [[package]] name = "subtle" diff --git a/Cargo.toml b/Cargo.toml index 2fad51f..bab1ec9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pairing" -version = "0.23.0" -authors = ["Sean Bowe ", "Jack Grigg "] -edition = "2021" -rust-version = "1.56" +version = "0.24.0" +authors = ["Sean Bowe ", "Jack Grigg "] +edition = "2024" +rust-version = "1.85" readme = "README.md" license = "MIT/Apache-2.0" @@ -13,7 +13,7 @@ homepage = "https://github.com/zkcrypto/pairing" repository = "https://github.com/zkcrypto/pairing" [dependencies] -group = { version = "0.13", default-features = false } +group = { version = "0.14", default-features = false } [badges] maintenance = { status = "actively-developed" } diff --git a/README.md b/README.md index 3a0e84e..10531ba 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ access patterns, or resistance to side-channel attacks. ## Minimum Supported Rust Version -Requires Rust **1.56** 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 minor version bump. diff --git a/rust-toolchain.toml b/rust-toolchain.toml index de43b23..934386c 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.56.0" +channel = "1.85" components = [ "clippy", "rustfmt" ] diff --git a/src/lib.rs b/src/lib.rs index 5aaa733..1b7238b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,13 +4,13 @@ // `clippy` is a code linting tool for improving code quality by catching // common mistakes or strange code patterns. If the `cargo-clippy` feature // is provided, all compiler warnings are prohibited. -#![cfg_attr(feature = "cargo-clippy", deny(warnings))] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::inline_always))] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::many_single_char_names))] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::write_literal))] +#![deny(warnings)] +#![allow(clippy::inline_always)] +#![allow(clippy::too_many_arguments)] +#![allow(clippy::unreadable_literal)] +#![allow(clippy::many_single_char_names)] +#![allow(clippy::new_without_default)] +#![allow(clippy::write_literal)] // Catch documentation errors caused by code changes. #![deny(rustdoc::broken_intra_doc_links)] // Force public structures to implement Debug @@ -21,9 +21,9 @@ pub use group; use core::ops::{Add, AddAssign, Mul}; use group::{ + Group, GroupOps, GroupOpsOwned, ScalarMul, ScalarMulOwned, UncompressedEncoding, ff::PrimeField, prime::{PrimeCurve, PrimeCurveAffine}, - Group, GroupOps, GroupOpsOwned, ScalarMul, ScalarMulOwned, UncompressedEncoding, }; /// An "engine" is a collection of types (fields, elliptic curve groups, etc.)