mezzenger-utils

Crates.iomezzenger-utils
lib.rsmezzenger-utils
version0.1.2
sourcesrc
created_at2023-01-23 08:55:30.251997
updated_at2023-09-13 11:40:42.212962
descriptionUtilities for mezzenger.
homepagehttps://github.com/zduny/mezzenger/tree/master/mezzenger-utils
repositoryhttps://github.com/zduny/mezzenger
max_upload_size
id765660
size35,775
Daniel Zduniak (zduny)

documentation

https://docs.rs/mezzenger-utils/

README

mezzenger-utils

Utils for mezzenger.

https://crates.io/crates/mezzenger-utils

ko-fi

available utilities

Following utilities are available or staged for development:

  • Inspector - wrapper transport calling a callback whenever it sends or receives a message.
    Work in progress.

  • Split - split transport into two with different message types.
    Work in progress.

  • Merged - merge futures Stream and Sink into a mezzenger transport.
    Work in progress.

  • Numbered - wrapper transport attaching a number to messages.

  • LatestOnly - wrapper transport turning a numbered (but not necessarily ordered) transport into an ordered transport, discarding old messages (polling a transport for the next message will return the latest received message, ignoring messages received before).
    Potentially useful when user doesn't care about stale messages (for example multiplayer video games).

  • Reliable - wrapper turning unreliable transport into reliable one (by acknowledging and resending lost messages after timeout).
    Work in progress.

  • Ordered - wrapper turning unordered (not guaranteeing message order) but reliable transport into ordered (and deduplicating) one.
    Work in progress.

  • Unreliabler - wrapper turning a transport into unreliable (possibly losing messages) and/or unordered (sending messages not in order, possibly duplicating messages) one - useful for testing.
    Work in progress.

see also

mezzenger

Commit count: 191

cargo fmt