mobiler-ui 0.3.0

Mobiler's fixed UI wire ABI — app-agnostic Widget tree + Action protocol
Documentation
  • Coverage
  • 13.48%
    19 out of 141 items documented0 out of 14 items with examples
  • Size
  • Source code size: 20.48 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.59 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mobiler/mobiler
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zmilan

Mobiler's fixed UI wire ABI.

These types are the stable contract between any Mobiler app's Rust core and the native shell. Because they never change per app, a single shell is built once and renders any Mobiler app — the shell only ever knows these types, never an app's domain events or widgets.

  • The core emits a [Widget] tree (the ViewModel).
  • The shell sends back an [Action] (the Event).
  • App domain events ride inside actions as opaque [ActionToken]s that the shell round-trips without interpreting.

Style is expressed as intent tokens (e.g. [TextStyle], [Tone]); the shell maps each to a concrete look (font, color, dp), so dark mode and theme come for free on the native side.