3Hren/msgpack-rust
MessagePack implementation for Rust / msgpack.org[Rust]
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
RMP - Rust MessagePack
RMP is a complete pure-Rust MessagePack implementation. MessagePack a compact self-describing binary serialization format.
This project consists of three crates:
- RMP-Serde (Documentation) — easy serializing/deserializing via Serde.
- RMP-Value (Documentation) — a universal
Valueenum that can hold any MessagePack type. Allows deserializing arbitrary messages without a known schema. - RMP (Documentation) — low-level functions for reading/writing encoded data.
Features
-
Convenient and powerful APIs
RMP is designed to be lightweight and straightforward. There is a high-level API with support for Serde, which provides you convenient interface for encode/decode Rust's data structures using
deriveattribute. There are also low-level APIs, which give you full control over data encoding/decoding process, with no-std support and without heap allocations. -
Zero-copy value decoding
RMP allows to decode bytes from a buffer in a zero-copy manner. Parsing is implemented in safe Rust.
-
Robust, stable and tested
This project is developed using TDD and CI, so any found bugs will be fixed without breaking existing functionality.
Why MessagePack?
It's smaller and much simpler to parse than JSON. The encoded data is self-describing and extensible, without using any schema definitions. It supports the same data types as JSON, plus binary data, non-string map keys, all float values, and 64-bit numbers. Msgpack values use <lenght><data> encoding, so they can be safely concatenated and read from a stream.
MessagePack is similar to CBOR, but has simpler data types (no bignums, decimal floats, dates, or indefinite-length sets, etc.)
Requirements
Similar Projects
Discover other similar projects and AI models.
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
A lightweight library for converting complex objects to and from simple Python datatypes.
Yet another serialization library on top of dataclasses, inspired by serde-rs.
MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]
Convert between CBOR, JSON, MessagePack, TOML, and YAML 1.1 & 1.2