minimalistic C client for Redis
Project homepage: https://github.com/redis/hiredis
Description
Hiredis is a minimalistic C client library for the Redis database.
It is minimalistic because it just adds minimal support for the
protocol, but at the same time it uses a high level printf-alike API
in order to make it much higher level than otherwise suggested by its
minimal code base and the lack of explicit bindings for every Redis
command.
Apart from supporting sending commands and receiving replies, it comes
with a reply parser that is decoupled from the I/O layer. It is a stream
parser designed for easy reusability, which can for instance be used in
higher level language bindings for efficient reply parsing.
Hiredis only supports the binary-safe Redis protocol, so you can use it
with any Redis version >= 1.2.0.
The library comes with multiple APIs. There is the synchronous API, the
asynchronous API and the reply parsing API.
Package information
- Ports path
- databases/libhiredis
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- databases, devel
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Build
- devel/cmake/core STEM->=4
- devel/ninja
- devel/dwz
Test
Used by (8 dependency relationships)
Includes library, runtime, build and test dependencies.