From fde7faaad7478577e833fe1a6d1d3caa7f2bd289 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 8 Feb 2026 12:54:14 -0800 Subject: [PATCH] Raise required compiler to Rust 1.70 --- .github/workflows/ci.yml | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10e6e60..aea30e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: false matrix: - rust: [beta, 1.82.0, 1.68.0] + rust: [beta, 1.82.0, 1.70.0] os: [ubuntu] include: - rust: stable @@ -68,9 +68,9 @@ jobs: - run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,arbitrary_precision - run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,raw_value - run: cargo check --manifest-path tests/crate/Cargo.toml --features serde_json/preserve_order - if: matrix.rust != '1.68.0' + if: matrix.rust != '1.70.0' - run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,serde_json/preserve_order - if: matrix.rust != '1.68.0' + if: matrix.rust != '1.70.0' - name: Build without std run: cargo check --manifest-path tests/crate/Cargo.toml --target ${{matrix.target}} --no-default-features --features alloc diff --git a/Cargo.toml b/Cargo.toml index 54cbce8..244ef70 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" keywords = ["json", "serde", "serialization"] license = "MIT OR Apache-2.0" repository = "https://github.com/serde-rs/json" -rust-version = "1.68" +rust-version = "1.70" [dependencies] indexmap = { version = "2.2.3", optional = true }