musli
Müsli is a flexible and generic binary serialization framework (by udoprog)
borrowme
The missing compound borrowing for Rust. (by udoprog)
musli | borrowme | |
---|---|---|
2 | 3 | |
325 | 47 | |
- | - | |
9.7 | 6.7 | |
14 days ago | 2 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
musli
Posts with mentions or reviews of musli.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
Müsli - An experimental binary serialization framework with more choice
A note on performance and size: Some benchmarks and statistics are included in the README. But only because people will be curious. I've based my methodology on rust_serialization_benchmark, but decided to not extend it (for now) since it seems to exclude any Rust types which are not widely supported by all formats being tested (like HashMap's and 128-bit numbers). The test suite is already quite nice if you want to take it for a spin.
borrowme
Posts with mentions or reviews of borrowme.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
Müsli - An experimental binary serialization framework with more choice
"Borrow heuristics" saves a lot of configuration. It's basically just the macro analyzing the type signature of fields for references and with that it can do the right thing 95% of the time. If those lifetimes weren't there I suspect it would mean having to use a helluvalot of attributes to make up for the lack of markup doing it the other way around (think of cases where there's multiple lifetimes). Unclear how it should work for nested types too, like how you'd want Vec> to be a Vec>. Some strange attribute would be needed I think.
-
borrowme 0.0.10 - the missing compound borrowing for Rust
I noted in my comment above that I was working on it. Here's the current PR.
What are some alternatives?
When comparing musli and borrowme you can also consider the following projects:
rkyv - Zero-copy deserialization framework for Rust
algebra - Libraries for finite field, elliptic curve, and polynomial arithmetic
json - Strongly typed JSON library for Rust
bounded-static - A Rust crate that defines the ToBoundedStatic and IntoBoundedStatic traits
rust_serialization_benchmark - Benchmarks for rust serialization frameworks
jpv - My personal Japanese dictionary based on JMdict