This repository was archived by the owner on Apr 6, 2026. It is now read-only.
fix(deps): update rust crate eframe to 0.34.0 - #3
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
July 26, 2023 06:44
91e8721 to
ea3d865
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
September 28, 2023 07:48
ea3d865 to
84521ea
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
November 23, 2023 17:21
84521ea to
268d3e8
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
November 30, 2023 19:01
268d3e8 to
5f85e06
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
January 8, 2024 14:45
5f85e06 to
a4d294e
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
February 5, 2024 18:19
a4d294e to
6709925
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
February 11, 2024 09:04
6709925 to
2d9483e
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
February 14, 2024 14:00
2d9483e to
f6091f0
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
March 26, 2024 17:34
f6091f0 to
fe8871e
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
March 29, 2024 13:25
fe8871e to
84041e3
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
April 2, 2024 20:01
84041e3 to
df5682a
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
May 5, 2024 09:46
df5682a to
9e33cde
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
July 3, 2024 23:52
9e33cde to
72c8624
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
September 26, 2024 17:08
72c8624 to
5b543b6
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
December 16, 2024 17:12
5b543b6 to
518e594
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
February 4, 2025 17:19
518e594 to
04981c4
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
July 10, 2025 20:44
04981c4 to
c9e96d1
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
October 9, 2025 17:41
c9e96d1 to
c21996e
Compare
renovate
Bot
force-pushed
the
renovate/eframe-0.x
branch
from
March 26, 2026 12:35
c21996e to
babf310
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.21.3→0.34.0Release Notes
emilk/egui (eframe)
v0.34.1Compare Source
wgpubackend: Enable WebGL fallback #8038 by @emilk<canvas>#8036 by @mkeeterv0.34.0Compare Source
⭐ Added
wgpu_no_default_features#7700 by @emilkViewportInfo::occludedandvisible#7948 by @emilkeframe::WindowChromeMetrics(macOS only) #8015 by @emilk🔧 Changed
App::updatewithfn logicandfn ui#7775 by @emilkwgputhe default renderer foreframeand egui.rs #7615 by @emilkwgpu29 #7990 by @cwfitzgerald🐛 Fixed
🚀 Performance
App::uiif the application is visible #7950 by @emilkv0.33.3Compare Source
Nothing new
v0.33.2Compare Source
native_pixels_per_pointis set during app creation #7683 by @emilkv0.33.0Compare Source
⭐ Added
🔧 Changed
winapiwithwindows-syscrate #7416 by @unlimitedsolaDYLD_LIBRARY_PATHis set and we find no wgpu adapter #7572 by @emilk🐛 Fixed
v0.32.3Compare Source
Nothing new
v0.32.2Compare Source
Nothing new
v0.32.1Compare Source
popstateevent listener #7403 by @irevoirev0.32.0Compare Source
⭐ Added
movable_by_window_backgroundoption to viewport #5412 by @jim-echas_shadowandwith_has_shadowto ViewportBuilder #6850 by @gaelanmcmillan🔧 Changed
should_propagate_eventand addshould_prevent_default#5779 by @th0rexViewportpositioning #5715 by @aspiringLichweb-sysmin version to0.3.73#5862 by @wareyaronto0.10.1#6861 by @torokati44accesskiton Android NativeActivity, makinghello_androidworking again #6855 by @podusowskiprefers-color-scheme: no-preference#7293 by @emilk🐛 Fixed
glowbackend #6893 by @wareyaNSImagefrom png data #7252 by @Wumpfv0.31.1Compare Source
Nothing new
v0.31.0Compare Source
WindowSettings#5554 by @landairev0.30.0Compare Source
NOTE: you now need to enable the
waylandorx11features to get Linux support, including getting it to work on most CI systems.⭐ Added
ViewportCommand::Screenshoton web #5438 by @lucasmerlin🔧 Changed
profilingcrate to support more profiler backends #5150 by @teddemunnikx11andwaylandfeatures toglutin#5391 by @e00E🐛 Fixed
FallbackEgltoPreferEgl#5408 by @e00Ev0.29.1Compare Source
v0.29.0Compare Source
✨ Highlights
🧳 Migration
WebRunner::startnow expects aHtmlCanvasElementrather than the id of it (#4780)NativeOptions::follow_system_themeanddefault_themeis gone, and is now inegui::Optionsinstead (#4860 by @bash)⭐ Added
🔧 Changed
HtmlCanvasElementelement directly inWebRunner::start#4780 by @jprochazkstaticeframe::Applifetime #5060 by @timstrglowcontext switching #4814 by @rustbasicweb-sys&wasm-bindgen#4980 by @bircniweb_sys_unstable_apis#5000 by @emilkdirectoriesdependency #4904 by @YgorSouza🐛 Fixed
savewhen hiding web tab, andupdatewhen focusing it #5114 by @emilkeframe::run_simple_native()persistence #4846 by @tpstevensv0.28.1Compare Source
v0.28.0Compare Source
✨ Highlights
The eframe web canvas now works properly when its a small part of a larger web page.
Previously this caused a lot of weird bugs, such as the eframe canvas stealing focus, and resizing the canvas in annoying ways.
Now it should all work seamlessly to have an eframe canvas as part of a web page, including having multiple different eframe apps next to each other.
As part of that the eframe canvas can now be focused (or not), just like an
<input>HTML element.We've also implemented a better method for sizing and positioning the canvas so that it yields pixel-perfect rendering on all known browsers except for Desktop Safari.
What this means is that text is much less likely to be blurry on web for users (#4536 by @jprochazk).
⭐ Added
register_native_textureineframe::Frame#4246 by @ChaojimengnanNativeOptions::persistence_path#4423 by @lucasmerlinraw_input_hookon web #4646 by @owen-d🔧 Changed
glowbackend #4284, #4296 by @emilkobjc2and its framework crates #4395 by @madsmtmResizeObserverinstead ofresizeevent #4536 by @jprochazkrequest_animation_frameinto resize observer #4628 by @jprochazkdirectories-nextdependency withdirectories#4661 by @crumblingstatueeframe::Resultis now short foreframe::Result<()>#4706 by @emilk🐛 Fixed
ViewportCommand::InnerSizenot resizing viewport on Wayland (#4211) #4211 by @rustbasicEvent::Ime#4358 by @rustbasic.forget()RAF closure #4551 by @jprochazk🧳 Migration
Wrap app creator in a
ResultApplications can now return an error during the app creation (#4565 by @emilk), so you now need to wrap your
Box<dyn App>in aResultlike so:Change web CSS
To make the eframe canvas fill the entire web browser, set its CSS to:
See
index.htmland #4536 for details.Web canvas focus
If you are using eframe for a fullscreen app, you should call
.focus()on your canvas during startup:v0.27.2Compare Source
Desktop/Native
unwrap()#4285Web
v0.27.1Compare Source
#hashin the URL changes #4261zoom_factor#4260 (thanks @justusdieckmann!)v0.27.0Compare Source
App::raw_input_hookallows for the manipulation or filtering of raw input events #4008 (thanks @varphone!)Desktop/Native
winuserfeature towinapito fix unresolved import #4037 (thanks @varphone!)get_proc_addressin CreationContext #4145 (thanks @Chaojimengnan!)Web
webgpufeature by default to wgpu #4124 (thanks @ctaggart!)request_animation_framewhen destroying web runner #4169 (thanks @jprochazk!)Location::query_map: support repeated key #4183v0.26.2Compare Source
winuserfeature towinapito fix unresolved import #4037 (thanks @varphone!)v0.26.1Compare Source
v0.26.0Compare Source
wgputo 0.19 #3824wgpu#3875cpu_usagetiming #3913Desktop/Native
ViewportInfo::maximizedandminimizedup-to-date on Windows #3831 (thanks @rustbasic!)IconData::default()without crashing #3842WgpuConfiguration::desired_maximum_frame_latency#3874App::updateon minimized windows #3877 (thanks @rustbasic!)Web
wgpuon web,eframewill try to use WebGPU if available, then fall back to WebGL #3824 #3895 (thanks @Wumpf!)v0.25.0Compare Source
glowandwgpufeatures are enabled, default towgpu#3717Desktop/Native
Send + Syncagain #3646 (thanks @surban!)accesskitprocess window events #3733 (thanks @DataTriny!)Web
wasm32docs fordocs.rs#3757v0.24.1Compare Source
Desktop/Native
x11feature on Linux #3643glowbackend: clear framebuffer color before callingApp::update#3665Web
tts#3651v0.24.0Compare Source
eframe::Framecommands andWindowInfowith egui #3564egui::ViewportBuilderineframe::NativeOptions#3572Breaking changes:
Most settings in
NativeOptionshave been moved toNativeOptions::viewport, which uses the newegui::ViewportBuilder:let native_options = eframe::nativeOptions { - initial_window_size: Some(egui::vec2(320.0, 240.0)), - drag_and_drop_support: true, + viewport: egui::ViewportBuilder::default() + .with_inner_size([320.0, 240.0]) + .with_drag_and_drop(true), ..Default::default() };NativeOptions::fullsize_contenthas been replaced with four settings:ViewportBuilder::with_fullsize_content_view,with_title_shown,with_titlebar_shown,with_titlebar_buttons_shownframe.info().window_infois gone, replaced withctx.input(|i| i.viewport()).frame.info().native_pixels_per_pointis replaced withctx.input(|i| i.raw.native_pixels_per_point).Most commands in
eframe::Framehas been replaced withegui::ViewportCommand, so Soframe.close()becomesctx.send_viewport_cmd(ViewportCommand::Close), etc.App::on_close_eventhas been replaced withctx.input(|i| i.viewport().close_requested())andctx.send_viewport_cmd(ViewportCommand::CancelClose).eframe::IconDatais nowegui::IconData.eframe::IconData::try_from_png_bytesis noweframe::icon_data::from_png_bytes.App::post_renderingis gone. Screenshots are taken withctx.send_viewport_cmd(ViewportCommand::Screenshots)and are returned inegui::Eventwhich you can check with:v0.23.0Compare Source
wgpu0.17.0 #3170 (thanks @Aaron1011!)eframe, especially for wasm32 #3295eframe::Frame::inforeturns a reference #3301 (thanks @Barugon!)App::persist_windowtoNativeOptionsandApp::max_size_pointstoWebOptions#3397Desktop/Native
eframe::storage_dir#3286NativeOptions::window_builderfor more customization #3390 (thanks @twop!)eframe#3241 (thanks @lucasmerlin!)eframestate storage #3353 (thanks @sebbert!)winitfeatures #3228run_returntwice on Windows #3053 (thanks @pan93412!)eframe#3330 #3332Web
Function()invocation from eframe text_agent to bypass "unsafe-eval" restrictions in Chrome browser extensions. #3349 (thanks @aspect!)v0.22.0Compare Source
request_repaint_afterworks even when called from background thread #2939tracingwithlog#2928Desktop/Native
Frame::request_screenshotandFrame::screenshotto communicate to the backend that a screenshot of the current frame should be exposed byFrameduringApp::post_rendering(#2676).eframe::run_simple_native* a simple API for simple apps (#2453).NativeOptions::app_idwhich allows to set the Wayland application ID under Linux (#1600).NativeOptions::active#2813 (thanks @Dixeran!)android-activitydependency + addActivitybackend features #2863 (thanks @rib!)run_and_return(#2892)eon black background #2996NativeOptions::app_idfor the persistence location #3014 and for Wayland #3007 (thanks @thomaskrause!)Frame::request_screenshot870264bWeb
eframe::start_webhas been replaced witheframe::WebRunner, which also installs a nice panic hook (no need forconsole_error_panic_hook).wgpufeature ofeframe. To use WebGL withwgpu, you need to addwgpu = { version = "0.16.0", features = ["webgl"] }to your ownCargo.toml. (#2945)eframe::WebLoggerfor redirectinglogcalls to the web console (console.log).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.