From 9d16bb6d3e976dde5b2c12af7c4e5f122c2bb542 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 17 Sep 2025 13:04:04 +0200 Subject: [PATCH] Update MSRV to 1.86 --- .github/workflows/deploy_web_demo.yml | 2 +- .github/workflows/rust.yml | 14 +++++++------- ehttp/Cargo.toml | 2 +- example_eframe/src/app.rs | 1 - rust-toolchain | 2 +- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy_web_demo.yml b/.github/workflows/deploy_web_demo.yml index 49ade44..1e23d3c 100644 --- a/.github/workflows/deploy_web_demo.yml +++ b/.github/workflows/deploy_web_demo.yml @@ -43,7 +43,7 @@ jobs: with: profile: minimal target: wasm32-unknown-unknown - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3d8481e..f833a4f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,7 +18,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - uses: actions-rs/cargo@v1 with: @@ -33,7 +33,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - run: rustup target add wasm32-unknown-unknown - uses: actions-rs/cargo@v1 @@ -49,7 +49,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - uses: actions-rs/cargo@v1 with: @@ -64,7 +64,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - run: rustup component add rustfmt - uses: actions-rs/cargo@v1 @@ -80,7 +80,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - run: rustup component add clippy - uses: actions-rs/cargo@v1 @@ -96,7 +96,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - run: cargo doc -p ehttp --lib --no-deps --all-features @@ -108,7 +108,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.86.0 override: true - run: rustup target add wasm32-unknown-unknown - run: cargo doc -p ehttp --target wasm32-unknown-unknown --lib --no-deps --all-features diff --git a/ehttp/Cargo.toml b/ehttp/Cargo.toml index 38caf46..b5496d9 100644 --- a/ehttp/Cargo.toml +++ b/ehttp/Cargo.toml @@ -4,7 +4,7 @@ version = "0.5.0" authors = ["Emil Ernerfeldt "] description = "Minimal HTTP client for both native and WASM" edition = "2018" -rust-version = "1.72" +rust-version = "1.86" homepage = "https://github.com/emilk/ehttp" license = "MIT OR Apache-2.0" readme = "../README.md" diff --git a/example_eframe/src/app.rs b/example_eframe/src/app.rs index 6e8d8a1..2bcc5b1 100644 --- a/example_eframe/src/app.rs +++ b/example_eframe/src/app.rs @@ -6,7 +6,6 @@ use std::{ use eframe::egui; #[derive(Debug, PartialEq, Copy, Clone)] -#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] enum Method { Get, Head, diff --git a/rust-toolchain b/rust-toolchain index 7285633..07cfccd 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -5,6 +5,6 @@ # to the user in the error, instead of "error: invalid channel name '[toolchain]'". [toolchain] -channel = "1.72.0" +channel = "1.86.0" components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ]