Releases: leftger/embedded-gui
Releases · leftger/embedded-gui
Release list
v0.2.7
What's Changed
- chore(deps): bump the actions group with 3 updates by @dependabot[bot] in #10
- chore(deps): bump the dependencies group with 14 updates by @dependabot[bot] in #11
- chore(deps): bump the dependencies group with 3 updates by @dependabot[bot] in #12
- chore(deps): bump the dependencies group with 5 updates by @dependabot[bot] in #13
New Contributors
- @dependabot[bot] made their first contribution in #10
Full Changelog: v0.1.5...v0.2.7
v0.1.5
Summary
Runtime-agnostic async present APIs and optional Embassy integration for overlapping CPU render with DMA transfer.
crates.io: https://crates.io/crates/embedded-gui/0.1.5
Highlights
Async present stack (no executor required)
CompletionSlot— ISR-safe DMA completion flag with waker supportWaitTransfer/WaitTransferFuture— wire display DMA tokens to async waitSwapChain—present_async,present_region_async,wait_for_vsync_async, and non-blockingtry_presentDisplayBackend/AsyncDmaTransfer— backend trait extensions for async DMA- GUI helpers —
try_present_dirty,present_dirty_async,try_present_framefor dirty-region present
Optional Embassy feature
- Enable with
embassyfeature (pulls inembassy-time+embassy-sync) EmbassyWaitTransferandFrameClockfor Embassy-based frame loops- Examples:
completion_swapchain_sim,embassy_gui_frame
Other changes since 0.1.4
- Gate full widget catalog behind
rich-widgetsfeature; keep essential widgets always on - Sweeping-arc perf: skip trig at cardinal angles; cross-product sector test
- Context module refactor and expanded test coverage
Features
| Feature | Default | Description |
|---|---|---|
embassy |
off | Embassy wakers + FrameClock |
embassy-time |
off | Time types for Embassy integration |
triple-buffering |
off | Triple-buffered swapchain APIs |
Upgrade
embedded-gui = "0.1.5"Rasterization stays synchronous; async is for present/wait/DMA overlap only — see README for RTIC/Embassy patterns.
v0.1.2
What's new
- Optional, feature-gated interop adapters bridging embedded-gui to the wider embedded-graphics ecosystem:
embedded-layoutfeature:RectView, aRectwrapper implementingembedded_layout::View, so embedded-layout'sLinearLayout/alignment/spacing algorithms can arrange embedded-gui widget rects.embedded-textfeature:text_box/text_box_with_stylehelpers to build anembedded_text::TextBoxover aRect, plusRenderCtx::draw_embedded_graphicsas a generic escape hatch for drawing anyembedded_graphics::Drawable.- Both are purely additive — the crate's own
layout.rs/text.rs/font.rsremain the default, dependency-light path with no behavior change.
- New example:
interop_showcase(cargo run --example interop_showcase --features embedded-text,embedded-layout). - Fixed a pre-existing
clippy::manual_slice_filllint intest_buffer.rs.
Full Changelog: db9e9c5...v0.1.2