From 50fd44a11bcdaf0e50828feab965d5abc4d4f880 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sun, 5 Nov 2023 17:05:26 -0500 Subject: [PATCH] Fix CI errors due to incorrect MSRV * Set minimum rust version to 1.63 due to rayon-core MSRV requirements, and add a matching `rust-version` in the Cargo.toml --- .github/workflows/main.yml | 4 ++-- Cargo.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ab88df..d94082e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,9 +13,9 @@ jobs: matrix: build: [MSRV, stable, nightly, macos, win32, win64] include: - - build: MSRV # Minimum supported Rust version + - build: MSRV # Minimum supported Rust version, ensure it matches the rust-version in Cargo.toml os: ubuntu-latest - rust: 1.62.1 + rust: 1.63 - build: stable os: ubuntu-latest rust: stable diff --git a/Cargo.toml b/Cargo.toml index 066053d..39e7969 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ license = "MIT" documentation = "https://docs.rs/scroll" description = "A suite of powerful, extensible, generic, endian-aware Read/Write traits for byte buffers" include = ["src/**/*", "Cargo.toml", "LICENSE", "README.md"] +rust-version = "1.63" [dependencies] scroll_derive = { version = "0.11", optional = true, path = "scroll_derive" }