/valkey-lite

Minimal C client library for Valkey

Primary LanguageC

valley-lite

Valkey-lite is a minimalistic C client library for the Valkey database.

It is minimalistic because it adds minimal support for the protocol, and at the same time uses a high-level printf-like API to make it much higher level than otherwise suggested by its minimal code base and the lack of explicit bindings for every Valkey command.

Apart from supporting sending commands and receiving replies, it also includes a reply parser which is decoupled from the I/O layer. It is a stream parser designed for easy reusability, which can be used in higher-level language bindings for efficient reply parsing.

Valkey-lite only supports the binary-safe Redis protocol so that you can use it with any Valkey version >= 1.2.0.