10 releases

new 0.0.7 Dec 7, 2024
0.0.6 Dec 7, 2024
0.0.6-rc.8 Nov 27, 2024
0.0.6-rc.7 Oct 13, 2024
0.0.6-rc.2 Jul 28, 2024

#111 in Robotics

Download history 3/week @ 2024-08-17 5/week @ 2024-08-24 6/week @ 2024-08-31 377/week @ 2024-09-07 81/week @ 2024-09-14 40/week @ 2024-09-21 39/week @ 2024-09-28 170/week @ 2024-10-05 292/week @ 2024-10-12 25/week @ 2024-10-19 7/week @ 2024-10-26 29/week @ 2024-11-02 1/week @ 2024-11-09 11/week @ 2024-11-16 169/week @ 2024-11-23 38/week @ 2024-11-30

224 downloads per month
Used in 10 crates (2 directly)

MIT/Apache

65KB
2K SLoC

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

Dependencies

~30–44MB
~718K SLoC