ssh_format
Data format used to communicate with openssh mux server. (by openssh-rust)
speedy
A fast binary serialization framework (by koute)
ssh_format | speedy | |
---|---|---|
2 | 1 | |
3 | 333 | |
- | - | |
4.0 | 5.9 | |
5 days ago | 3 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
ssh_format
Posts with mentions or reviews of ssh_format.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-12.
-
Are there any serialization crates that do Varint encoding without Zigzag encoding?
It isn't. I wrote my own serializer ssh_format and you could simply write a mcro_rules to delegate most fm to underlying serializer.
- Your one project with rust that you think is one of the best projects you have made.
speedy
Posts with mentions or reviews of speedy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-12.
-
Are there any serialization crates that do Varint encoding without Zigzag encoding?
I would look at speedy which is, as the name suggests, pretty fast. It encodes varints in a way that's different from LEB128, and is much quicker to both encode and decode. The format they use is at the top of this file -- you can do it just with a couple of shifts and masks, and decoding is similarly fast. Speedy also hard-branches in the code with a switch statement based on how many bytes you need, which in my tests is something like 2x faster than the alternative, despite it being a branch (it's just turns into a lookup table in assembly).
What are some alternatives?
When comparing ssh_format and speedy you can also consider the following projects:
crates.io - The Rust package registry
scale-info - Info about SCALE encodable Rust types
library-loader - [Unofficial] Samacsys Library Loader for all platforms!
postcard - A no_std + serde compatible message library for Rust
serde - Serialization framework for Rust
pguint - unsigned integer types extension for PostgreSQL
parity-scale-codec - Lightweight, efficient, binary serialization and deserialization codec