Bump MSRV to 1.60

- `blake2b_simd 1.0.1` raised its MSRV to 1.59.
- `proptest 1.1.0` added a dependency on `unarray` which has an implicit
  MSRV of 1.60.
This commit is contained in:
Jack Grigg 2023-02-10 17:48:42 +00:00
parent 94b454ca2f
commit 09f9c095d0
11 changed files with 17 additions and 16 deletions

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: Run benchmark
run: cargo bench -- --output-format bencher | tee output.txt

View File

@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: Run tests
uses: actions-rs/cargo@v1
@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: Add target
run: rustup target add ${{ matrix.target }}
@ -79,7 +79,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: cargo build
uses: actions-rs/cargo@v1
@ -124,7 +124,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
@ -147,7 +147,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1

View File

@ -5,7 +5,7 @@ on: pull_request
jobs:
clippy:
name: Clippy (1.56.1)
name: Clippy (1.60.0)
timeout-minutes: 30
runs-on: ubuntu-latest
@ -13,12 +13,12 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
components: clippy
override: true
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
name: Clippy (1.56.1)
name: Clippy (1.60.0)
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings

View File

@ -4,7 +4,7 @@
## Minimum Supported Rust Version
Requires Rust **1.56.1** or higher.
Requires Rust **1.60** or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a
minor version bump.

View File

@ -5,7 +5,7 @@ authors = [
"Jack Grigg <jack@electriccoin.co>",
]
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.59"
description = "[BETA] Fast zero-knowledge proof-carrying data implementation with no trusted setup"
license = "MIT OR Apache-2.0"
repository = "https://github.com/zcash/halo2"

View File

@ -9,7 +9,7 @@ authors = [
"Kris Nuttycombe <kris@electriccoin.co>",
]
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.59"
description = "Reusable gadgets and chip implementations for Halo 2"
license = "MIT OR Apache-2.0"
repository = "https://github.com/zcash/halo2"

View File

@ -1,6 +1,6 @@
# halo2_gadgets [![Crates.io](https://img.shields.io/crates/v/halo2_gadgets.svg)](https://crates.io/crates/halo2_gadgets) #
Requires Rust 1.56.1+.
Requires Rust 1.60+.
## Documentation

View File

@ -8,7 +8,7 @@ authors = [
"Jack Grigg <jack@electriccoin.co>",
]
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.59"
description = """
Fast PLONK-based zero-knowledge proving system with no trusted setup
"""

View File

@ -4,7 +4,7 @@
## Minimum Supported Rust Version
Requires Rust **1.56.1** or higher.
Requires Rust **1.60** or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a
minor version bump.

View File

@ -1 +0,0 @@
1.56.1

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "1.60.0"