Top 18 Rust Serialization Projects
-
Project on GitHub
-
Project mention: Serialization formats that store structures as tuples instead of as dictionaries | reddit.com/r/C_Programming | 2022-05-20
Tuples can be serialized in RON format https://github.com/ron-rs/ron
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Project mention: impl serde::Deserialize... is it really that complicated? | reddit.com/r/rust | 2022-04-28
Step 1: The Deserialize type requests data from the Deserializer with one of the deserialize_type methods. This gives it an opportunity to provide certain metadata about the type: structs provide a list of fields, enums provide a list of variants, tuples provide a length, etc. Some data formats (notably bincode) require this metadata to drive deserializing, as the wire format is not self-describing. Crucially, the Deserialize type also provides a visitor that is capable of receiving the requested data from the Deserializer.
-
Hi, you seem to know a bit about Sanakirja!
It stores 4kb blobs, right? Does Pijul first parses the data (copying it to other allocations), or uses the data as is? I mean, there are some libraries like cap'n'proto[0] and rkyv[1] that can directly use the file contents as an in-memory data structure, I was wondering if Pijul did anything like that.
I mean, is this btree page [2] stored exactly like this on disk, and does Pijul exploits that to avoid further copying data?
(I guess there's a trouble with compression there: to decompress you really need to write in another buffer)
Also, is the I/O done with something that prevent userspace copies like mmap or io_uring, or does it eventually calls read() to copy the data to its own buffer?
I want to build something like Sanakirja, but with those features, so I'm wondering if there's any overlap.
[0] https://github.com/capnproto/capnproto-rust
[1] https://github.com/rkyv/rkyv
[2] https://docs.rs/sanakirja-core/latest/sanakirja_core/btree/p...
-
Project mention: Rust-CRDT: Foundational CRDTs implemented in Rust | reddit.com/r/CRDTs | 2022-04-23
-
This is similar in practice to using abi_stable, and end-users will still receive compiled files, but your plugins will be sandboxed and a single build will work on all platforms. The downside is that it's a bit more work because WebAssembly's support for passing complex data types between the host and the WebAssembly code is in the preliminary stages, so you need to do something like using Serde to encode your data into something like Bincode or MessagePack (or JSON and friends) to hand it off between the host and the plugin.
-
Project mention: Hey Rustaceans! Got an easy question? Ask here (41/2021)! | reddit.com/r/rust | 2021-10-11
This is not directly rust related, but I wanted to create some Excel document generator (and reader) library and was wondering if there are good resources available. In my limited research I tinkered with creating small documents, extracting their contents and looking at the xml inside. I‘m able to generate the same xmls using quick-xml.
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
-
Project mention: Flexible, Fast & Compact Serialization with RPC | reddit.com/r/rust | 2021-09-03
-
Project mention: Obake v1.0.1 – Versioned data-structures for Rust | news.ycombinator.com | 2021-08-27
-
Project mention: I made a blazing fast and small new data serialization format called "DLHN" in Rust. | reddit.com/r/rust | 2022-05-09
-
It's a shame that no IDL except Typical [1] has learned the lesson about schema evolution: the only safe way to do it is with "asymmetric" fields. Instead they always have some unprincipled ad hoc type system in which some types can be optional, some have defaults, some can be nested, and others can't—and none of them seem to have proper support for algebraic data types with pattern matching (including FIDL).
(Disclaimer: I'm the author of Typical.)
-
Project mention: Fornjot: A next-generation Code-CAD application | news.ycombinator.com | 2022-03-09
-
The first version of Serde Gura is now available! Gura is a simple and readable configuration language that will be familiar to any YAML and TOML user. Its essence lies in simplicity and was introduced in detail in this post on this subreddit.
-
-
Project mention: TREF: Rust crate to generate, store, traverse and serialize trees. | reddit.com/r/rust | 2021-09-13
Hope you can have a look and give me opinions and advice to improve it. And of course, I’m also open to pull requests (https://github.com/asllop/tref).
-
I have two solutions I've been working on and thinking about. The first is a way to manage multiple formats of data stored in the database, by offering a way to transition old versions to the current version. A possible benefit of this approach is that it doesn't require rewriting your data at the time of schema migration. Some users may not want that extra cost (if there is any), and would prefer a way to update the data.
-
Rust Serialization related posts
- Serialization formats that store structures as tuples instead of as dictionaries
- I made a blazing fast and small new data serialization format called "DLHN" in Rust.
- rust-protobuf 3.0
- impl serde::Deserialize... is it really that complicated?
- Rust-CRDT: Foundational CRDTs implemented in Rust
- A nicer way to pack this message?
- Macro for structured byte to struct parsing
Index
What are some of the best open-source Serialization projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | rust-protobuf | 2,049 |
2 | ron | 1,992 |
3 | bincode | 1,578 |
4 | rkyv | 1,202 |
5 | rust-crdt | 911 |
6 | msgpack-rust | 744 |
7 | quick-xml | 693 |
8 | deku | 392 |
9 | NoProto | 299 |
10 | obake | 147 |
11 | dlhn | 89 |
12 | typical | 81 |
13 | ruststep | 64 |
14 | serde-gura | 10 |
15 | PyValico | 5 |
16 | tref | 5 |
17 | transmog | 4 |
18 | watson-rs | 0 |
Are you hiring? Post a new remote job listing for free.