https://github.com/chainbound/msg-rs
Messaging library for distributed systems built in Rust
https://github.com/chainbound/msg-rs
distributed-systems networking rust tokio
Last synced: about 1 year ago
JSON representation
Messaging library for distributed systems built in Rust
- Host: GitHub
- URL: https://github.com/chainbound/msg-rs
- Owner: chainbound
- License: mit
- Created: 2023-09-29T14:18:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T12:50:33.000Z (over 1 year ago)
- Last Synced: 2025-04-02T12:11:16.162Z (about 1 year ago)
- Topics: distributed-systems, networking, rust, tokio
- Language: Rust
- Homepage: https://chainbound.github.io/msg-rs/
- Size: 2.15 MB
- Stars: 69
- Watchers: 6
- Forks: 8
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README

A flexible and lightweight messaging library for distributed systems built with Rust and Tokio.
[][gh-ci]
[][mit-license]
[][book]
[][discord]
## Overview
`msg-rs` is a messaging library that was inspired by projects like [ZeroMQ](https://zeromq.org/) and [Nanomsg](https://nanomsg.org/).
It was built because we needed a Rust-native messaging library like those above.
## Documentation
The 📖 [MSG-RS Book][book] contains detailed information on how to use the library.
## Features
- Multiple socket types
- [x] Request/Reply
- [x] Publish/Subscribe
- Pluggable transport layers
- [x] TCP
- [x] QUIC
- [x] IPC
- Useful stats: latency, throughput, packet drops
- Durable IO abstraction (built-in retries and reconnections)
- Custom wire protocol with support for authentication and compression
- Network simulation mode with dummynet & pfctl
- Extensive benchmarks
- Integration tests
## MSRV
The minimum supported Rust version is 1.75.
## Contributions & Bug Reports
If you are interested in contributing or have found a bug, please check out the [contributing guide][contributing].
Please report any bugs or doubts you encounter by [opening a Github issue][new-issue].
Additionally, you can reach out to us on [Discord][discord] if you have any questions or just want to chat.
## License
This project is licensed under the Open Source [MIT license][mit-license].
## Disclaimer
This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
[book]: https://chainbound.github.io/msg-rs/
[gh-ci]: https://github.com/chainbound/msg-rs/actions/workflows/ci.yml
[discord]: https://discord.gg/nhWcSWYpm9
[new-issue]: https://github.com/chainbound/msg-rs/issues/new
[mit-license]: https://github.com/chainbound/msg-rs/blob/main/LICENSE
[contributing]: https://github.com/chainbound/msg-rs/blob/main/CONTRIBUTING.md