diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 859e8bb..2566161 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index ddbb954..20813c8 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/rust-toolchain b/rust-toolchain index 7f3a46a..ba0a719 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.49.0 +1.51.0