4 releases
0.2.1 | Oct 24, 2024 |
---|---|
0.2.0 | Oct 18, 2024 |
0.1.1 | Oct 8, 2024 |
0.1.0 | Oct 7, 2024 |
#1238 in Database interfaces
687 downloads per month
Used in 2 crates
1MB
4K
SLoC
sourisdb
is a crate designed to provide a size-optimised way of transmitting a key-value store. There are a variety of methods used to achieve this goal ranging from variable-size integers to niche optimisations all detailed within values::Value
.
The expected use-case is for web - in testing I've found this to be far more efficient than JSON whilst preserving type information AND providing additional types. Typically, SourisDB
stores take around 25% less space than JSON objects even when minified.
sourisdb
can also be used for storage on-disk as it is entirely byte-order-agnostic as it deliberately stores everything using little-endian bytes.
Dependencies
~4–16MB
~189K SLoC