Bump MSRV to 1.51.0

Necessary for ff 0.10 etc.
This commit is contained in:
Jack Grigg 2021-06-01 23:22:25 +01:00
parent 7663200468
commit 45c57f9352
3 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.51.0
override: true
- name: Run tests
uses: actions-rs/cargo@v1
@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.51.0
override: true
- name: Add target
run: rustup target add ${{ matrix.target }}
@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.51.0
override: true
# Build benchmarks to prevent bitrot
- name: Build benchmarks
@ -71,7 +71,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.51.0
override: true
- name: cargo build
uses: actions-rs/cargo@v1
@ -85,7 +85,7 @@ jobs:
run: mdbook test -L target/debug/deps book/
clippy:
name: Clippy (stable)
name: Clippy (1.51.0)
timeout-minutes: 30
runs-on: ubuntu-latest
@ -93,13 +93,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.51.0
components: clippy
override: true
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
name: Clippy (stable)
name: Clippy (1.51.0)
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings
@ -158,7 +158,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.51.0
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
@ -181,7 +181,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.51.0
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1

View File

@ -8,7 +8,7 @@ Pallas and Vesta. More details about the Pasta curves can be found
## Minimum Supported Rust Version
Requires Rust **1.49** or higher.
Requires Rust **1.51** 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 +1 @@
1.49.0
1.51.0