Skip to content

feat: add Rust desktop packaging runtime#367

Draft
mohamedmansour wants to merge 5 commits into
mainfrom
mmansour/rust-desktop-runtime
Draft

feat: add Rust desktop packaging runtime#367
mohamedmansour wants to merge 5 commits into
mainfrom
mmansour/rust-desktop-runtime

Conversation

@mohamedmansour

Copy link
Copy Markdown
Contributor

Summary

  • Add a Rust-first desktop runtime crate with custom-protocol routing, static assets, typed protobuf IPC, API route handlers, bundle metadata, app icons, and portable packaging.
  • Add the webui desktop CLI shim plus the desktop sidecar backend with macOS WKWebView, Windows WebView2, and Linux GTK4/WebKitGTK6 shell backends.
  • Add app-root packaging docs and a Contact Book desktop Rust runner with route providers and custom-protocol API handlers.

Validation

  • cargo xtask check
  • cargo check -p microsoft-webui-desktop-cli --target x86_64-pc-windows-msvc
  • cargo check -p contact-book-desktop --target x86_64-pc-windows-msvc
  • cargo check -p microsoft-webui-desktop-cli --target aarch64-pc-windows-msvc
  • cargo check -p contact-book-desktop --target aarch64-pc-windows-msvc

mohamedmansour and others added 4 commits June 23, 2026 17:36
Add the desktop sidecar, native shell backends, app-root packaging, and Contact Book desktop runner.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Populate the new component asset roots field for desktop build option initializers after rebasing on main.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a cross-platform DesktopFrame and DesktopFrameBackend contract, route platform launch through PlatformFrameBackend, and update the Contact Book runner to use the generic API.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reuse already-loaded bundle manifests and serve packaged assets through a manifest-backed index to avoid duplicate manifest parsing and per-request asset metadata reads.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mohamedmansour mohamedmansour marked this pull request as draft June 24, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant