3Hren / 3Hren/msgpack-rust

support records/string references

Open
#338 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.4k
Forks
162
PR merge metrics
No merged PRs in 30d

Description

I often want to encode a bunch of identically-shaped objects like

{"name": "raylu", "id": 1}
{"name": "bob", "id": 2}

msgpackr supports "records" for this: https://github.com/kriszyp/msgpackr#record--object-structures

cbor2 supports "string references": https://cbor2.readthedocs.io/en/latest/usage.html#string-references

it would be nice if msgpack-rust (and, thus, [ormsgpack](https://github.com/aviramha/ormsgpack)) supported something like either of these

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.