diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3cfd99a85c6..5cd5070a13d 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.60.0 + toolchain: 1.61.0 override: true - name: Install packages (Linux) if: runner.os == 'Linux' @@ -39,7 +39,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - name: Install packages (Linux) if: runner.os == 'Linux' @@ -57,7 +57,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - run: rustup target add wasm32-unknown-unknown - uses: actions-rs/cargo@v1 @@ -73,7 +73,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - name: check run: cargo check -p egui_demo_app @@ -86,7 +86,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - run: rustup target add wasm32-unknown-unknown - name: check @@ -100,7 +100,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - run: rustup target add wasm32-unknown-unknown - uses: actions-rs/cargo@v1 @@ -116,7 +116,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - name: Install packages (Linux) if: runner.os == 'Linux' @@ -134,7 +134,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - run: rustup component add rustfmt - uses: actions-rs/cargo@v1 @@ -150,7 +150,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - run: cargo install cargo-cranky - name: Install packages (Linux) @@ -169,7 +169,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - name: Install packages (Linux) if: runner.os == 'Linux' @@ -190,7 +190,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.60.0 + toolchain: 1.61.0 override: true - run: rustup target add wasm32-unknown-unknown - run: ./sh/setup_web.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c8aabf2d23..be9ee630b10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui-w * `ctrl-h` now acts like backspace in `TextEdit` ([#1812](https://github.com/emilk/egui/pull/1812)). ### Changed +* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * `PaintCallback` shapes now require the whole callback to be put in an `Arc` with the value being a backend-specific callback type ([#1684](https://github.com/emilk/egui/pull/1684)). * Replaced `needs_repaint` in `FullOutput` with `repaint_after`. Used to force repaint after the set duration in reactive mode ([#1694](https://github.com/emilk/egui/pull/1694)). * `Layout::left_to_right` and `Layout::right_to_left` now takes the vertical align as an argument. Previous default was `Align::Center`. @@ -61,7 +62,7 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui-w * `ClippedMesh` has been replaced with `ClippedPrimitive` ([#1351](https://github.com/emilk/egui/pull/1351)). * Renamed `Frame::margin` to `Frame::inner_margin`. * Renamed `AlphaImage` to `FontImage` to discourage any other use for it ([#1412](https://github.com/emilk/egui/pull/1412)). -* Warnings will pe painted on screen when there is an `Id` clash for `Grid`, `Plot` or `ScrollArea` ([#1452](https://github.com/emilk/egui/pull/1452)). +* Warnings will be painted on screen when there is an `Id` clash for `Grid`, `Plot` or `ScrollArea` ([#1452](https://github.com/emilk/egui/pull/1452)). * `Checkbox` and `RadioButton` with an empty label (`""`) will now take up much less space ([#1456](https://github.com/emilk/egui/pull/1456)). * Replaced `Memory::top_most_layer` with more flexible `Memory::layer_ids`. * Renamed the feature `convert_bytemuck` to `bytemuck` ([#1467](https://github.com/emilk/egui/pull/1467)). diff --git a/eframe/CHANGELOG.md b/eframe/CHANGELOG.md index 53ed3fb4c00..8a58f3fe657 100644 --- a/eframe/CHANGELOG.md +++ b/eframe/CHANGELOG.md @@ -5,6 +5,7 @@ NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/C ## Unreleased +* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * Added `wgpu` rendering backed ([#1564](https://github.com/emilk/egui/pull/1564)): * Added features "wgpu" and "glow" * Added `NativeOptions::renderer` to switch between the rendering backends diff --git a/eframe/Cargo.toml b/eframe/Cargo.toml index 2e983d9ab66..191099bc0c6 100644 --- a/eframe/Cargo.toml +++ b/eframe/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.0" authors = ["Emil Ernerfeldt "] description = "egui framework - write GUI apps that compiles to web and/or natively" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/eframe" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/egui-wgpu/Cargo.toml b/egui-wgpu/Cargo.toml index ef3c04301f6..a6921642d8c 100644 --- a/egui-wgpu/Cargo.toml +++ b/egui-wgpu/Cargo.toml @@ -8,7 +8,7 @@ authors = [ "Emil Ernerfeldt ", ] edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/egui-wgpu" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/egui-winit/CHANGELOG.md b/egui-winit/CHANGELOG.md index b42f55cc68a..046453d78d1 100644 --- a/egui-winit/CHANGELOG.md +++ b/egui-winit/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to the `egui-winit` integration will be noted in this file. ## Unreleased +* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * Fixed clipboard on Wayland ([#1613](https://github.com/emilk/egui/pull/1613)). * Allow deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)). * Fixed window position persistence ([#1745](https://github.com/emilk/egui/pull/1745)). diff --git a/egui-winit/Cargo.toml b/egui-winit/Cargo.toml index e76a399e5ef..7a34c062178 100644 --- a/egui-winit/Cargo.toml +++ b/egui-winit/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.0" authors = ["Emil Ernerfeldt "] description = "Bindings for using egui with winit" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/egui-winit" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/egui/Cargo.toml b/egui/Cargo.toml index eea1e829252..10b1b73a45e 100644 --- a/egui/Cargo.toml +++ b/egui/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.1" authors = ["Emil Ernerfeldt "] description = "An easy-to-use immediate mode GUI that runs on both web and native" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui" license = "MIT OR Apache-2.0" readme = "../README.md" diff --git a/egui/src/lib.rs b/egui/src/lib.rs index 278e1302844..45b3f56d73a 100644 --- a/egui/src/lib.rs +++ b/egui/src/lib.rs @@ -3,7 +3,7 @@ //! Try the live web demo: . Read more about egui at . //! //! `egui` is in heavy development, with each new version having breaking changes. -//! You need to have rust 1.60.0 or later to use `egui`. +//! You need to have rust 1.61.0 or later to use `egui`. //! //! To quickly get started with egui, you can take a look at [`eframe_template`](https://github.com/emilk/eframe_template) //! which uses [`eframe`](https://docs.rs/eframe). diff --git a/egui_demo_app/Cargo.toml b/egui_demo_app/Cargo.toml index 48f2ba17df8..4035d4fccd2 100644 --- a/egui_demo_app/Cargo.toml +++ b/egui_demo_app/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false default-run = "egui_demo_app" diff --git a/egui_demo_lib/Cargo.toml b/egui_demo_lib/Cargo.toml index 28fbc7ac269..baa14178a30 100644 --- a/egui_demo_lib/Cargo.toml +++ b/egui_demo_lib/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.0" authors = ["Emil Ernerfeldt "] description = "Example library for egui" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/egui_demo_lib" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/egui_extras/CHANGELOG.md b/egui_extras/CHANGELOG.md index 8fa301a2aa5..591c35f84c5 100644 --- a/egui_extras/CHANGELOG.md +++ b/egui_extras/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to the `egui_extras` integration will be noted in this file. ## Unreleased +* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * You can now specify a texture filter for `RetainedImage` ([#1636](https://github.com/emilk/egui/pull/1636)). * Fixed uneven `Table` striping ([#1680](https://github.com/emilk/egui/pull/1680)). diff --git a/egui_extras/Cargo.toml b/egui_extras/Cargo.toml index 1e4f32fe432..24258d2f16e 100644 --- a/egui_extras/Cargo.toml +++ b/egui_extras/Cargo.toml @@ -8,7 +8,7 @@ authors = [ ] description = "Extra functionality and widgets for the egui GUI library" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui" license = "MIT OR Apache-2.0" readme = "../README.md" diff --git a/egui_glium/CHANGELOG.md b/egui_glium/CHANGELOG.md index ffa35368245..ef215884e36 100644 --- a/egui_glium/CHANGELOG.md +++ b/egui_glium/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to the `egui_glium` integration will be noted in this file. ## Unreleased +* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). ## 0.18.0 - 2022-04-30 diff --git a/egui_glium/Cargo.toml b/egui_glium/Cargo.toml index 83b5699974d..b4ea5457fe4 100644 --- a/egui_glium/Cargo.toml +++ b/egui_glium/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.0" authors = ["Emil Ernerfeldt "] description = "Bindings for using egui natively using the glium library" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/egui_glium" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/egui_glow/CHANGELOG.md b/egui_glow/CHANGELOG.md index 6c98faba816..078145c4bc3 100644 --- a/egui_glow/CHANGELOG.md +++ b/egui_glow/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to the `egui_glow` integration will be noted in this file. ## Unreleased +* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * `EguiGlow::new` now takes an `EventLoopWindowTarget` instead of a `winit::Window` ([#1634](https://github.com/emilk/egui/pull/1634)). * Use `Arc` for `glow::Context` instead of `Rc` ([#1640](https://github.com/emilk/egui/pull/1640)). * Fixed `glClear` on WebGL1 ([#1658](https://github.com/emilk/egui/pull/1658)). diff --git a/egui_glow/Cargo.toml b/egui_glow/Cargo.toml index 5bf226a0cc2..3d390637fc5 100644 --- a/egui_glow/Cargo.toml +++ b/egui_glow/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.1" authors = ["Emil Ernerfeldt "] description = "Bindings for using egui natively using the glow library" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/egui_glow" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/emath/Cargo.toml b/emath/Cargo.toml index 6918e2eeb9f..3f65ace49f7 100644 --- a/emath/Cargo.toml +++ b/emath/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.0" authors = ["Emil Ernerfeldt "] description = "Minimal 2D math library for GUI work" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/emath" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/epaint/CHANGELOG.md b/epaint/CHANGELOG.md index 716ae16b7e8..36370df01ae 100644 --- a/epaint/CHANGELOG.md +++ b/epaint/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to the epaint crate will be documented in this file. * Added `epaint::hex_color!` to create `Color32`'s from hex strings under the `color-hex` feature ([#1596](https://github.com/emilk/egui/pull/1596)). * Optimize tessellation of filled circles by 10x or more ([#1616](https://github.com/emilk/egui/pull/1616)). * Added opt-in feature `deadlock_detection` to detect double-lock of mutexes on the same thread ([#1619](https://github.com/emilk/egui/pull/1619)). +* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). ## 0.18.1 - 2022-05-01 diff --git a/epaint/Cargo.toml b/epaint/Cargo.toml index f0dc45bf00b..9a33734e57e 100644 --- a/epaint/Cargo.toml +++ b/epaint/Cargo.toml @@ -4,7 +4,7 @@ version = "0.18.1" authors = ["Emil Ernerfeldt "] description = "Minimal 2D graphics library for GUI work" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" homepage = "https://github.com/emilk/egui/tree/master/epaint" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/examples/confirm_exit/Cargo.toml b/examples/confirm_exit/Cargo.toml index a6dee834381..79f0318fb3b 100644 --- a/examples/confirm_exit/Cargo.toml +++ b/examples/confirm_exit/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/custom_3d_glow/Cargo.toml b/examples/custom_3d_glow/Cargo.toml index 645531b78a3..bbfa11284ba 100644 --- a/examples/custom_3d_glow/Cargo.toml +++ b/examples/custom_3d_glow/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/custom_3d_three-d/Cargo.toml b/examples/custom_3d_three-d/Cargo.toml index d19f2c9be3e..277276471f4 100644 --- a/examples/custom_3d_three-d/Cargo.toml +++ b/examples/custom_3d_three-d/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/custom_font/Cargo.toml b/examples/custom_font/Cargo.toml index 9c9bf122e2f..5a936f0013d 100644 --- a/examples/custom_font/Cargo.toml +++ b/examples/custom_font/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/custom_font_style/Cargo.toml b/examples/custom_font_style/Cargo.toml index a3b7169f526..10374cf897d 100644 --- a/examples/custom_font_style/Cargo.toml +++ b/examples/custom_font_style/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["tami5 "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/custom_window_frame/Cargo.toml b/examples/custom_window_frame/Cargo.toml index 93d8aecc4d2..13cc065162a 100644 --- a/examples/custom_window_frame/Cargo.toml +++ b/examples/custom_window_frame/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/download_image/Cargo.toml b/examples/download_image/Cargo.toml index cbe5f7d7a3f..a284e661c9e 100644 --- a/examples/download_image/Cargo.toml +++ b/examples/download_image/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/file_dialog/Cargo.toml b/examples/file_dialog/Cargo.toml index 74db8f27421..ebad4863e3a 100644 --- a/examples/file_dialog/Cargo.toml +++ b/examples/file_dialog/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index c05147418f0..ea95b02165d 100644 --- a/examples/hello_world/Cargo.toml +++ b/examples/hello_world/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/puffin_profiler/Cargo.toml b/examples/puffin_profiler/Cargo.toml index 2acf172ff10..4d683138591 100644 --- a/examples/puffin_profiler/Cargo.toml +++ b/examples/puffin_profiler/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/retained_image/Cargo.toml b/examples/retained_image/Cargo.toml index fc647c41008..88c7d2fb456 100644 --- a/examples/retained_image/Cargo.toml +++ b/examples/retained_image/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/screenshot/Cargo.toml b/examples/screenshot/Cargo.toml index aab4e6565e1..8f9fa0b4d6a 100644 --- a/examples/screenshot/Cargo.toml +++ b/examples/screenshot/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["René Rössler "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/examples/svg/Cargo.toml b/examples/svg/Cargo.toml index 0e2cdba3783..161b28cd378 100644 --- a/examples/svg/Cargo.toml +++ b/examples/svg/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.61" publish = false diff --git a/rust-toolchain b/rust-toolchain index c03d9c48949..818270c217a 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.60.0" +channel = "1.61.0" components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ]