databases/hiredis 1.4.1 NetBSD
Minimalistic C client library for the Redis database
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
0b29e7edb2- License
- modified-bsd
- Categories
- databases
- Package size
- 75.0 KiB, 230.9 KiB installed
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 an 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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | databases/hiredis | 1.4.1 |
| FreeBSD | databases/hiredis | 1.3.0.15 |
| DragonFly | databases/hiredis | 1.2.0.15 |
| MidnightBSD | databases/hiredis | 1.2.0.15 |
| HardenedBSD | databases/hiredis | 1.3.0.15 |
| GhostBSD | databases/hiredis | 1.3.0.15 |
| OPNsense | databases/hiredis | 1.3.0.15 |
Install
Binary package:
pkgin install hiredis
From pkgsrc:
cd /usr/pkgsrc/databases/hiredis && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.4.1 |
| NetBSD 10.1 aarch64 | 1.4.0 |
| SmartOS / illumos x86_64 | 1.5.0 |
| macOS 15 arm64 | 1.5.0 |