• Stars
    star
    1,072
  • Rank 41,450 (Top 0.9 %)
  • Language
    Rust
  • License
    MIT License
  • Created about 9 years ago
  • Updated 12 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MessagePack implementation for Rust / msgpack.org[Rust]

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:

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 derive attribute. 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?

Smaller and simpler to parse than JSON. Supports the same types as JSON, plus binary data, all float values, and 64-bit numbers. Encoded data is self-describing and extensible, without requiring a schema definition.

Requirements

  • Rust 1.56.0 or later

Build Coverage Status