bevy_dioxus_sync

Crates.iobevy_dioxus_sync
lib.rsbevy_dioxus_sync
version0.1.0
created_at2025-11-06 18:00:18.563589+00
updated_at2025-11-06 18:00:18.563589+00
descriptionTop crate for bevy-dioxus interop through syncronization
homepage
repositoryhttps://github.com/rydb/bevy_dioxus_sync
max_upload_size
id1920073
size209,121
(rydb)

documentation

README

bevy_dioxus_sync

bevy-dioxus interop between Dioxus and bevy to syncronize their state

bevy_dioxus_sync_V1.webm

Features

  • hooks for sending resources, components, and assets between dioxus and bevy.
  • syncronization for (some) events to and from dioxus (window resize, keyboard input).
  • native support through the ✨ new ✨ dioxus-native renderer.

To use

See hooks/{hook}.rs hook files for available hooks, or see demos in /examples.

To run

to serve bevy_dioxus_sync apps with dioxus hot-patching

ensure your dioxus-cli version matches bevy_dioxus_sync's version of dioxus.

cargo install dioxus-cli@<current-dioxus-version> --locked

then run:

dx serve (--package OR --example) <your project> --hotpatch

e.g: for minimal

dx serve --package minimal --hot-patch
Commit count: 0

cargo fmt