bson-rust
Encoding and decoding support for BSON in Rust (by mongodb)
NoProto
Flexible, Fast & Compact Serialization with RPC (by only-cliches)
bson-rust | NoProto | |
---|---|---|
1 | 8 | |
380 | 364 | |
0.8% | - | |
7.3 | 0.0 | |
about 1 month ago | 12 months ago | |
Rust | Rust | |
MIT License | MIT License |
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.
bson-rust
Posts with mentions or reviews of bson-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-05.
-
Introduction to Rust generics [1/2]: Traits
This is especially useful for data deserialization: Just by implementing the Serialize and Deserialize traits from the serde crate, the (almost) universally used serialization library in the Rust world, we can then serialize and deserialize our types to a lot of data formats: JSON, YAML, TOML, BSON and so on...
NoProto
Posts with mentions or reviews of NoProto.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-03.
- Flexible, Fast & Compact Serialization with RPC
- NoProto: Flexible, Fast and Compact Serialization with RPC
-
Writing no_std-friendly libraries?
You can easily use allocation and allocation dependent data types with the ‘alloc’ crate. Everything in the alloc crate will honor a global allocator set by the host application. I built a no_std crate with allocation, if you’d like to check it out for examples: https://github.com/only-cliches/NoProto
-
Introducing nachricht: a self-describing binary data-interchange format that uses backreferences to save bytes on wire
Looks awesome! Do you mind if I add this library to my benchmarks? https://github.com/only-cliches/NoProto#benchmarks
-
Looking for simple avro like serialization format
There is now: https://github.com/only-cliches/NoProto/issues/10
-
rkyv 0.3: Unarchiving and perfect hashing
I'm trying to add your library to my benchmarks and it's seg faulting. It's possible I'm doing things wrong, but once I reach this method the benchmark fails and segfaults.
-
rawbson: A new non-allocating BSON handling crate
Benchmark Source
What are some alternatives?
When comparing bson-rust and NoProto you can also consider the following projects:
async-trait - Type erasure for async trait methods
rkyv - Zero-copy deserialization framework for Rust
bebop - 🎷No ceremony, just code. Blazing fast, typesafe binary serialization.
gogen-avro - Generate Go code to serialize and deserialize Avro schemas
xous-core - The Xous microkernel
Apache Avro - Apache Avro is a data serialization system.
postgresbson - BSON support for PostgreSQL
muon - MuON data interchange specification
serde-gura - Strongly typed Gura library for Rust
nachricht - A self-describing data interchange format
rawbson - Blazing fast zero-copy BSON handling in Rust.
avroc - Python library for compiling Avro schemas into executable encoders/decoders