Skip to content

Commit

Permalink
Bump MSRV to 1.81 and crypto-bigint to 0.6.0-rc.6 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm authored Oct 8, 2024
1 parent 1a33a30 commit 7150e0c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/crypto-primes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
rust:
- 1.73.0 # MSRV
- 1.81.0 # MSRV
- stable
target:
- wasm32-unknown-unknown
Expand Down Expand Up @@ -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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
13 changes: 9 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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"
Expand All @@ -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"]
Expand Down

0 comments on commit 7150e0c

Please sign in to comment.