bevy_dioxus_sync 0.1.0

Top crate for bevy-dioxus interop through syncronization
Documentation

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