Skip to content

chainbound/msg-rs

Repository files navigation

MSG-RS

A flexible and lightweight messaging library for distributed systems built with Rust and Tokio.

CI License Book Discord

Overview

msg-rs is a messaging library that was inspired by projects like ZeroMQ and Nanomsg. It was built because we needed a Rust-native messaging library like those above.

MSG is still in ALPHA and is not ready for production use.

Documentation

The MSG-RS Book contains detailed information on how to use the library.

Features

  • Multiple socket types
    • Request/Reply
    • Publish/Subscribe
    • Channel
    • Push/Pull
    • Survey/Respond
  • Stats (RTT, throughput, packet drops etc.)
  • Request/Reply basic stats
  • Queuing
  • Pluggable transport layer
    • TCP
    • TLS
    • IPC
    • UDP
    • Inproc
  • Durable IO abstraction (built-in retries and reconnections)
  • Simulation modes with Turmoil

MSRV

The minimum supported Rust version is 1.70.

Contributions & Bug Reports

If you are interested in contributing or have found a bug, please check out the contributing guide. Please report any bugs or doubts you encounter by opening a Github issue.

Additionally, you can reach out to us on Discord if you have any questions or just want to chat.

License

This project is licensed under the Open Source MIT license.