diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b887495..3891554 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,9 +13,15 @@ jobs: build: runs-on: ubuntu-latest + matrix: + # The MSRV is Rust 1.60. + rust-toolchain: [1.60, stable] steps: - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@v1 + with: + toolchain: ${{ matrix.rust-toolchain }} - name: Build run: cargo build --verbose - name: Run tests diff --git a/Cargo.toml b/Cargo.toml index 0376e0e..fffe151 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,8 @@ description = "Utilities for working with uninitialized arrays" repository = "https://github.com/cameron1024/unarray" license = "MIT OR Apache-2.0" version = "0.1.4" -edition = "2018" +edition = "2021" +rust-version = "1.60" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html