From 7150e0c0e355d43560b3afab7ea1a8468fd36293 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 8 Oct 2024 19:41:21 +0200 Subject: [PATCH] Bump MSRV to 1.81 and crypto-bigint to 0.6.0-rc.6 (#55) --- .github/workflows/crypto-primes.yml | 8 ++++---- CHANGELOG.md | 4 ++++ Cargo.toml | 13 +++++++++---- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/crypto-primes.yml b/.github/workflows/crypto-primes.yml index e4e060e..e347e5e 100644 --- a/.github/workflows/crypto-primes.yml +++ b/.github/workflows/crypto-primes.yml @@ -2,10 +2,10 @@ name: crypto-primes on: workflow_dispatch: pull_request: - paths-ignore: [ README.md ] + paths-ignore: [README.md] push: branches: master - paths-ignore: [ README.md ] + paths-ignore: [README.md] env: CARGO_INCREMENTAL: 0 @@ -17,7 +17,7 @@ jobs: strategy: matrix: rust: - - 1.73.0 # MSRV + - 1.81.0 # MSRV - stable target: - wasm32-unknown-unknown @@ -135,6 +135,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.73.0 + toolchain: 1.81.0 profile: minimal - run: cargo build --all-features --benches diff --git a/CHANGELOG.md b/CHANGELOG.md index a20d08d..157b7e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +- Bumped `crypto-bigint` to 0.6.0-rc.6 (pinned) and MSRV to 1.81. ([#55]) + [#55]: https://github.com/entropyxyz/crypto-primes/pull/55 ## [0.6.0-pre.1] - 2024-10-03 diff --git a/Cargo.toml b/Cargo.toml index a1afa77..c3e534a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,10 +7,10 @@ description = "Random prime number generation and primality checking library" repository = "https://github.com/entropyxyz/crypto-primes" readme = "README.md" categories = ["cryptography", "no-std"] -rust-version = "1.73" +rust-version = "1.81" [dependencies] -crypto-bigint = { version = "=0.6.0-rc.2", default-features = false, features = [ +crypto-bigint = { version = "=0.6.0-rc.6", default-features = false, features = [ "rand_core", ] } rand_core = { version = "0.6.4", default-features = false } @@ -22,7 +22,7 @@ glass_pumpkin = { version = "1", optional = true } [dev-dependencies] # need `crypto-bigint` with `alloc` to test `BoxedUint` -crypto-bigint = { version = "=0.6.0-rc.2", default-features = false, features = [ +crypto-bigint = { version = "=0.6.0-rc.6", default-features = false, features = [ "alloc", ] } rand_chacha = "0.3" @@ -40,7 +40,12 @@ tests-openssl = ["openssl"] tests-gmp = ["rug/std"] tests-glass-pumpkin = ["glass_pumpkin"] tests-exhaustive = [] -tests-all = ["tests-openssl", "tests-gmp", "tests-exhaustive", "tests-glass-pumpkin"] +tests-all = [ + "tests-openssl", + "tests-gmp", + "tests-exhaustive", + "tests-glass-pumpkin", +] [package.metadata.docs.rs] features = ["default"]