lightyear_messages 0.25.5

IO primitives for the lightyear networking library
Documentation

Lightyear Messages

This crate provides a MessagePlugin to handle sending and receiving messages over the network.

A [Message] is simply any type that can be (de)serialized.

You can add the MessageSender<M> or MessageReceiver<M> components to your Link entity to enable sending and receiving messages of type M.

The crate also provides a [MessageManager] component that manages the process of sending and receiving messages for an entity. It stores a [RemoteEntityMap] that holds a mapping between the local and remote entities.