8000 GitHub - iddm/listpack-redis: Listpack implementation based on Redis.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iddm/listpack-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Crates Docs License

Listpack (based on the Redis implementation)

This crate provides a Rust-idiomatic re-implementation of the "listpack" data-structure implemented in Redis as a part of Redis.

This implementation is:

  1. fully written in Rust.
  2. Allows to specify a custom allocator.
  3. Allows to store more types than in Redis: f64, u64, bool, null and objects of custom type.

Description

Please follow the official description of the data structure first.

In order to implement the additional types, the unused data subencodings are used.

MSRV (Minimally-Supported Rust Version)

The MSRV is 1.70.

Building

Simply build using cargo:

cargo build

Examples

Please take a look at the /examples directory, where you may find a few examples showing the use of the crate.

Additionally, you may check out the unit tests /src/listpack.rs directory to get familiar with some more specific use-cases.

LICENSE

License

About

Listpack implementation based on Redis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0