Bump MSRV to 1.56

This is the first cargo version that actually enforces the rust-version field in Cargo.toml
This commit is contained in:
Oli Scherer
2025-03-05 09:23:29 +00:00
parent 49d098debd
commit 13a33b3c33
8 changed files with 24 additions and 110 deletions
+2 -11
View File
@@ -84,7 +84,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [1.31.0, 1.34.0]
rust: [1.56.0, 1.60.0]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
@@ -94,6 +94,7 @@ jobs:
- run: sed -i '/"test_suite"/d' Cargo.toml
- run: cd serde && cargo build --features rc
- run: cd serde && cargo build --no-default-features
- run: cd serde && cargo build --no-default-features --features alloc
- run: cd serde && cargo build
derive:
@@ -111,16 +112,6 @@ jobs:
- run: cd serde && cargo check
- run: cd serde_derive && cargo check
alloc:
name: Rust 1.36.0
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.36.0
- run: sed -i '/"test_suite"/d' Cargo.toml
- run: cd serde && cargo build --no-default-features --features alloc
minimal:
name: Minimal versions
runs-on: ubuntu-latest