Rust Serialization

Open-source Rust projects categorized as Serialization

Top 23 Rust Serialization Projects

  • ron

    Rusty Object Notation

    Project mention: Ron: Rusty Object Notation | news.ycombinator.com | 2023-04-23

    Serde is strongly, strictly typed: you have to specify what type you want to decode to. It’s nothing like Python’s Pickle protocol.

    See, for example, https://github.com/ron-rs/ron/blob/484fcab0686dfd18c7e29b6c1..., where it (in a type-inferency way) says “parse as Config”.

  • rust-protobuf

    Rust implementation of Google protocol buffers

    Project mention: [Media] Dear Google, When Rust? Sincerely, Internet | reddit.com/r/rust | 2023-03-17
  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • bincode

    A binary encoder / decoder implementation in Rust.

    Project mention: Hey Rustaceans! Got a question? Ask here (14/2023)! | reddit.com/r/rust | 2023-04-03

    Ermm... actually I meant something like this: playground, but then I realized it's basically (de)serialization, and I just found that we already have a crate for that: bincode.

  • rkyv

    Zero-copy deserialization framework for Rust

    Project mention: Müsli - An experimental binary serialization framework with more choice | reddit.com/r/rust | 2023-05-18

    And before you ask: This only provides partial zero-copy support in strings and byte arrays like serde. But it's not like rkyv which constructs validated references into the data.

  • rust-crdt

    a collection of well-tested, serializable CRDTs for Rust

  • msgpack-rust

    MessagePack implementation for Rust / msgpack.org[Rust]

  • quick-xml

    Rust high performance xml reader and writer

    Project mention: Fastest XML node parsing library in Rust | reddit.com/r/rust | 2023-04-08

    You could try quick-xml.

  • ONLYOFFICE

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • deku

    Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization

  • typical

    Data interchange with algebraic data types. (by stepchowfun)

    Project mention: Typical: Data interchange with algebraic data types | reddit.com/r/patient_hackernews | 2023-05-22
  • NoProto

    Flexible, Fast & Compact Serialization with RPC

  • deser

    Experimental rust serialization library

  • obake

    Versioned data-structures for Rust

  • borsh-rs

    Rust implementation of Binary Object Representation Serializer for Hashing

    Project mention: The fastest and most efficient way to learn Solana (for Solidity developers) | dev.to | 2022-11-17

    Obviously, the anchor framework exists for a reason, so get comfortable with it. But having written programs without it, you’ll be able to understand the motivation behind the syntactic sugar and “magic” that happens at various points. Remember how everything is a file? If you want to store variables statelessly, they all need to lay out the variables end-to-end in the account. Borsh serialization library handles this for you, but you need to be comfortable using it before delegating the hard work to magic attributes.

  • serde-encrypt

    🔐 Encrypts all the Serialize.

    Project mention: I had no idea for a useful Rust project - so here is a useless one | reddit.com/r/rust | 2022-08-04
  • dlhn

    DLHN implementation for Rust

    Project mention: Best format for high-performance Serde? | reddit.com/r/rust | 2023-03-27

    Consider checking out DLHN, a data serialization format I created: https://github.com/otake84/dlhn

  • bitcode

    A bitwise serialization format for Rust

    Project mention: bitcode 0.4 release - binary serialization format | reddit.com/r/rust | 2023-05-14

    bitcode is a new binary serialization format that aims to minimize size while maintaining competitive speed. Since our initial post, we've added a derive macro which unlocks more performance and control than was possible with serde.

  • ruststep

    A STEP toolkit for Rust

  • doku

    fn(Code) -> Docs (by anixe)

    Project mention: Doku v0.20.0, documentation pretty-printer, has been just released -- with support for TOML! | reddit.com/r/rust | 2022-11-07
  • serde-partial

    Serde partial serialization made easy

    Project mention: serde-partial - Serde partial serialization made easy | reddit.com/r/rust | 2022-12-28
  • watson-rs

    Rust implementation for esoteric object notation WATSON

  • serde-gura

    Strongly typed Gura library for Rust

  • transmog

    Utilities for serializing with multiple formats of data in Rust.

  • tref

    Tree in Rows Elemental Format. Rust crate to parse, store and serialize trees.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-22.

Rust Serialization related posts

Index

What are some of the best open-source Serialization projects in Rust? This list will help you:

Project Stars
1 ron 2,704
2 rust-protobuf 2,428
3 bincode 2,111
4 rkyv 1,917
5 rust-crdt 1,116
6 msgpack-rust 904
7 quick-xml 897
8 deku 736
9 typical 463
10 NoProto 334
11 deser 256
12 obake 186
13 borsh-rs 176
14 serde-encrypt 167
15 dlhn 149
16 bitcode 101
17 ruststep 93
18 doku 76
19 serde-partial 38
20 watson-rs 17
21 serde-gura 12
22 transmog 7
23 tref 5
TestGPT | Generating meaningful tests for busy devs
Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
codium.ai