1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Set MSRV to 1.56.0 and use rust edition 2021 (#998)

This commit is contained in:
Emil Ernerfeldt
2021-12-25 19:32:25 +01:00
committed by GitHub
parent ee00214511
commit c60d17b91b
18 changed files with 36 additions and 29 deletions

View File

@@ -21,6 +21,7 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w
* Add `Button::image_and_text` ([#832](https://github.com/emilk/egui/pull/832)).
### Changed 🔧
* MSRV (Minimum Supported Rust Version) is now `1.56.0`.
* `ui.add(Button::new("…").text_color(…))` is now `ui.button(RichText::new("…").color(…))` (same for `Label` )([#855](https://github.com/emilk/egui/pull/855)).
* Plots now provide a `show` method that has to be used to add items to and show the plot ([#766](https://github.com/emilk/egui/pull/766)).
* Replace `CtxRef::begin_frame` and `end_frame` with `CtxRef::run` ([#872](https://github.com/emilk/egui/pull/872)).