beet_net

Crates.iobeet_net
lib.rsbeet_net
version0.0.3
sourcesrc
created_at2024-03-04 07:00:29.837708
updated_at2024-07-14 08:35:36.300256
descriptionA very flexible AI behavior library for games and robotics.
homepagehttps://beetmash.com/docs/beet
repositoryhttps://github.com/mrchantey/beet
max_upload_size
id1161280
size212,024
Peter Hayman (mrchantey)

documentation

https://beetmash.com/docs/beet

README

beet_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: 557

cargo fmt