5 releases
0.0.6-rc.5 | Sep 13, 2024 |
---|---|
0.0.6-rc.4 | Sep 8, 2024 |
0.0.6-rc.2 | Jul 28, 2024 |
0.0.6-rc.1 | Jul 27, 2024 |
#198 in Robotics
456 downloads per month
64KB
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
~21–35MB
~563K SLoC