beetmash_net

Crates.iobeetmash_net
lib.rsbeetmash_net
version0.0.6-rc.7
sourcesrc
created_at2024-07-27 05:20:35.947989
updated_at2024-10-13 01:28:31.325138
descriptionA lightweight Bevy replication library.
homepagehttps://beetmash.com
repositoryhttps://github.com/mrchantey/beetmash
max_upload_size
id1317064
size215,397
Peter Hayman (mrchantey)

documentation

https://beetmash.com/docs/beetmash

README

beetmash_net

This is a very tiny and simple replication library that can run on microcontrollers and be used for DOM communication.

Features

Incoming / Outgoing

Components, Events and Resources can be specified as incoming or outgoing. Components can be both because the Replicate component can be used to distinguish who should be doing the sending.

Multiple transports

For instance a web bevy app can send serde_json messages to the dom and bincode messages to the server

Limitations

  • Components must be registered in the same order for every client
  • Partial changes: on component or resource changes, the entire type is sent and applied
  • Messages are not cached, if a client joins late it misses previous messages
  • No authority determination
  • Unidirectional Resources/Events: resources and events cannot be registered as both incoming and outgoing

References

Commit count: 71

cargo fmt