From 9611358d90219d8944c704af0e37551986b6ebb5 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Wed, 4 Dec 2024 20:47:43 +0100 Subject: [PATCH] bump rust version to 1.79 --- .github/workflows/rust.yml | 18 +++++++++--------- Cargo.toml | 2 +- clippy.toml | 2 +- examples/custom_plot_manipulation/Cargo.toml | 2 +- examples/save_plot/Cargo.toml | 2 +- rust-toolchain | 2 +- scripts/check.sh | 2 +- scripts/clippy_wasm/clippy.toml | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aa5d903..ef31b1b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: default - toolchain: 1.76.0 + toolchain: 1.79.0 override: true - name: Install packages (Linux) @@ -104,7 +104,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.76.0 + toolchain: 1.79.0 target: wasm32-unknown-unknown override: true components: clippy @@ -129,12 +129,12 @@ jobs: name: Check Rust dependencies (cargo-deny) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: EmbarkStudios/cargo-deny-action@v1 - with: - rust-version: "1.76.0" - log-level: warn - command: check + - uses: actions/checkout@v3 + - uses: EmbarkStudios/cargo-deny-action@v1 + with: + rust-version: "1.79.0" + log-level: warn + command: check # --------------------------------------------------------------------------- @@ -146,7 +146,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.76.0 + toolchain: 1.79.0 target: wasm32-unknown-unknown override: true - name: Download and install Trunk binary diff --git a/Cargo.toml b/Cargo.toml index 7d3995c..0ff6f03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = ["egui_plot", "demo", "examples/*"] [workspace.package] edition = "2021" license = "MIT OR Apache-2.0" -rust-version = "1.76" +rust-version = "1.79" version = "0.29.0" diff --git a/clippy.toml b/clippy.toml index e1c2dbc..2b556cb 100644 --- a/clippy.toml +++ b/clippy.toml @@ -3,7 +3,7 @@ # ----------------------------------------------------------------------------- # Section identical to scripts/clippy_wasm/clippy.toml: -msrv = "1.76" +msrv = "1.79" allow-unwrap-in-tests = true diff --git a/examples/custom_plot_manipulation/Cargo.toml b/examples/custom_plot_manipulation/Cargo.toml index fe0bdce..953ae1b 100644 --- a/examples/custom_plot_manipulation/Cargo.toml +++ b/examples/custom_plot_manipulation/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Ygor Souza "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.76" +rust-version = "1.79" publish = false [lints] diff --git a/examples/save_plot/Cargo.toml b/examples/save_plot/Cargo.toml index 17f502e..5e28d1f 100644 --- a/examples/save_plot/Cargo.toml +++ b/examples/save_plot/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["hacknus "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.76" +rust-version = "1.79" publish = false [lints] diff --git a/rust-toolchain b/rust-toolchain index 3fb0f58..01c684b 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.76" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145 +channel = "1.79" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145 components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ] diff --git a/scripts/check.sh b/scripts/check.sh index f1befb3..2936c68 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -9,7 +9,7 @@ set -x # Checks all tests, lints etc. # Basically does what the CI does. -cargo +1.76.0 install --quiet typos-cli +cargo +1.79.0 install --quiet typos-cli export RUSTFLAGS="-D warnings" export RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454 diff --git a/scripts/clippy_wasm/clippy.toml b/scripts/clippy_wasm/clippy.toml index 5b7bf9d..bf9db45 100644 --- a/scripts/clippy_wasm/clippy.toml +++ b/scripts/clippy_wasm/clippy.toml @@ -8,7 +8,7 @@ # ----------------------------------------------------------------------------- # Section identical to the main clippy.toml: -msrv = "1.76" +msrv = "1.79" allow-unwrap-in-tests = true