Skip to content

v0.25.0

Choose a tag to compare

@W-Mai W-Mai released this 29 May 16:44
· 189 commits to main since this release
c98d6fe

Main loop refactor for non-blocking event loops (browsers, custom embedded schedulers).

Added

  • App::tick(&mut self) -> bool — runs one frame; returns true after Quit + on_quit hooks.
  • Runner<B, F> + App::into_runner()Runner::run_blocking() (native, -> !) is the existing App::run with process::exit on quit; on no_std it spins after quit. Runner::start_animation_frame() (wasm) is a stub that the WebAssembly canvas backend will wire to requestAnimationFrame.

Changed

  • App::run body now wraps App::tick — pure refactor, no semantic change.
  • cargo xtask bump <level> now also rewrites the mirui-macros pin in the root Cargo.toml and the mirui = "X.Y" literals in README, docs/quickstart.md, and the crate-root rustdoc.