From 8dbf997f9cc8511be4633e48886201ed3cf0c409 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 16 Dec 2024 19:12:23 +0100 Subject: [PATCH] Update to egui 1.81 --- .github/workflows/rust.yml | 2 +- Cargo.toml | 4 ++-- rust-toolchain | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index db5b62b2..5fe05940 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -94,7 +94,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.76.0 + toolchain: 1.81.0 target: wasm32-unknown-unknown override: true - name: Download and install Trunk binary diff --git a/Cargo.toml b/Cargo.toml index e7a94065..9b723de3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] edition = "2021" include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"] -rust-version = "1.76" +rust-version = "1.81" [package.metadata.docs.rs] all-features = true @@ -30,7 +30,7 @@ env_logger = "0.11" # web: [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen-futures = "0.4" -web-sys = "0.3.70" # to access the DOM (to hide the loading text) +web-sys = "0.3.70" # to access the DOM (to hide the loading text) [profile.release] opt-level = 2 # fast and small wasm diff --git a/rust-toolchain b/rust-toolchain index 3fb0f586..dd9d16c4 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.81" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145 components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ]